Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to fetch all Git branches


To list remote branches:

git branch -r
You can check them out as local branches with:

git checkout -b LocalName origin/remotebranchname
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #fetch #Git #branches
ADD COMMENT
Topic
Name
4+1 =