When you pull a new repository , not all remote branches are pull
- type
git fetch --all
This command fetches all remote branches from your repository type
git branch -r
to view all your remote branches The two commands do not automatically pull your remote branches, you have to create a local branch and pull from the remote branchType
git checkout -b branchName origin/branchName
- Replace branchName with the name of the remote branch you
wish to pull
Top comments (0)