When branch B does not exist locally, but is on the remote repo,
git branch
* A
git branch -a
* A
remotes/origin/B
How can i pull B to my local repo? Should i git checkout B first? Should i pull, while on branch A?
Please help me clarify
If the local branch
bdoes not exist, thengit pulland then simplygit checkout band the branch will be created automatically.Other options would include a
git fetch origin/b