Visual Studio 2013 - Git - remote branch selection

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 using the Git shell, but seem to be unable to figure out how to do this using the VS 2013 interface.

I am trying to locally delete a remote branch and cannot do this. Through the command line, I would do:

git fetch -a git checkout <branchName> 

I understand that the workflow is to create a local branch that tracks the remote branch; however, my list of deleted branches in the drop-down list is not complete. How to execute this action which imitates git fetch -a ?

Below is the image:

enter image description here

+5
source share
1 answer

To execute the git fetch equivalent from Git Team Explorer tools with Visual Studio 2013, you must:

  • Click the Unsuccessful Commit tab.
  • Switch to branch with remote tracking (I always use the wizard)
  • Click Fetch in the Incoming Commands section.

Now your list of deleted branches will be updated, and you can create a new branch that tracks the origin/dev branch

enter image description here

+16
source

All Articles