Reputation: 1197
I am starting to use Visual Studio 2013 with the built-in Git Team Explorer tools using Visual Studio Online. I am very familiar with how to do this via the Git Shell but cannot seem to figure out how to do this via the VS 2013 interface.
I am trying to pull a remote branch locally and am unable to do so. Via command line, I would do:
git fetch -a
git checkout <branchName>
I understand the workflow is to create a local branch that tracks the remote branch; however, my remote branch list in the dropdown is not complete. How do I perform this action which mimics git fetch -a
?
Below is a picture:
Upvotes: 5
Views: 11584
Reputation: 1197
To perform the equivalent of git fetch
from the Git Team Explorer tools with Visual Studio 2013, you have to:
Now, your remote branch list will be up to date and you can create a new branch that tracks the origin/dev
branch
Upvotes: 19