Answers for "pull all remote branches on local git"

2

git pull all branches

# use bash to be safe!
git fetch --all
git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git pull --all
Posted by: Guest on September-24-2021
1

get all remote branches

git fetch --all
Posted by: Guest on September-18-2020

Code answers related to "pull all remote branches on local git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language