Answers for "checkout on a remote branch"

3

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
6

git checkout remote branch

git checkout --track origin/<branchname>
Posted by: Guest on June-17-2020
4

checkout remote branch

git fetch origin 

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

Code answers related to "checkout on a remote branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language