Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git get remote branches

git branch -r
Comment

How do I check out a remote Git branch?

In this case, you probably want to create a local test branch which is tracking the remote test branch:

$ git branch test origin/test
In earlier versions of git, you needed an explicit --track option, but that is the default now when you are branching off a remote branch.

To create the local branch and switch to it, use:

$ git checkout -b test origin/test
Comment

git get remote branch

git fetch
git checkout test
Comment

PREVIOUS NEXT
Code Example
Shell :: get version of mongodb server 
Shell :: command can be used to find files or folders matching a particular search pattern in linux 
Shell :: curl a zip 
Shell :: git show log after date 
Shell :: how to permanently install wifi drivers realtek 8723de in ubuntu 18.04 
Shell :: wifi drivers realtek 8852 for Ubuntu 
Shell :: gsed comand store file 
Shell :: xampp aliases 
Shell :: spaceship theme zsh 
Shell :: git passphrase remember 
Shell :: cli50 docs 
Shell :: delete list of packages linux 
Shell :: grep exclude multi dirs 
Shell :: install ripgrep windows 
Shell :: bash if not 
Shell :: vue telephone number 
Shell :: git reset uncommitted changes 
Shell :: ansible playbook to set passwordless sudo 
Shell :: cert manager version 
Shell :: kubernetes force delete command 
Shell :: pwa install 
Shell :: does npm install takes arguments 
Shell :: disable snap 
Shell :: jupyter command install 
Shell :: index of string in shell 
Shell :: php 7.4 raspberry pi 
Shell :: present working directory in linux 
Shell :: create a directory 
Shell :: how to update old branch 
Shell :: pdf compressor linux 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =