How to Manage Remote Branches in Git
erics, Posted October 19th, 2017 at 6:29:42am
Git does not download all branches unless you tell it to. Until then, they are ‘remote’ branches.
Use -r to list remote branches:
git branch -r
git fetch --all
git pull --all
If you see this error:
fatal: The current branch CT-37 has no upstream branch.
Push the current branch and set the remote as upstream:
git push --set-upstream origin CT-37
Leave Your Comment
All fields marked with "*" are required.