Answers for "checkout a remote branch locally git"

6

Git checkout remote branch in git

git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
Posted by: Guest on November-05-2021
4

checkout remote branch

git fetch origin 

git checkout –track origin/xyz
Posted by: Guest on April-23-2020

Code answers related to "checkout a remote branch locally git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language