Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fetch all git branches

# add a existing branch from a repository to your local 
git fetch origin <name of branch>
# example 
git fetch origin test2
# if you want fetch to get all branch ,
git fetch --all
 
PREVIOUS NEXT
Tagged: #fetch #git #branches
ADD COMMENT
Topic
Name
2+5 =