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 :: how to remove sudo permission in from download 
Shell :: macos start avd cmd 
Shell :: git log one line 
Shell :: mongodb log directory missing ubuntu 
Shell :: linux see remaining disk space 
Shell :: check kubectl version 
Shell :: git rename branch 
Shell :: raspberry config command line 
Shell :: install jupyterlab on ubuntu 
Shell :: how to access postgres CLI 
Shell :: ubuntu install bluetooth drivers 
Shell :: how to push local code to git repository 
Shell :: linux open current directory in gui 
Shell :: pwd as string powershell 
Shell :: chnage nvm default version 
Shell :: ubuntu isolate workspaces 
Shell :: ssh tunel map background 
Shell :: install lamp ubunto 
Shell :: time machine speed up 
Shell :: git push all 
Shell :: kill adb device or emulator 
Shell :: elastic beanstalk installation command on cli 
Shell :: apt install zbar 
Shell :: powreshell function cleanup 
Shell :: npm install vuelidate 
Shell :: bash curl weather report 
Shell :: installing pytesseract in python linux 
Shell :: Failed to fetch platform cordova-android@^8.0.0 
Shell :: update software in ubuntu 
Shell :: composer create-project symfony/website-skeleton 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =