Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fetch all branches

git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
 
PREVIOUS NEXT
Tagged: #fetch #branches
ADD COMMENT
Topic
Name
2+7 =