Answers for "how to pull all branches locally"

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
0

pull all branches from remote git

git clone http://re_here.git branch
Posted by: Guest on June-11-2021

Code answers related to "how to pull all branches locally"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language