Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (45.3k points)

I'm working on a project with 2 others, and we're using Visual Studio 2012 with Git and Team Foundation Service.

I'm able to clone the repository from TFS to my machine, however, I can't get a separate development branch to pull as well, while I'm able to see it on the TFS website.

Does anyone know how to do this?

1 Answer

0 votes
by (16.8k points)

Apparently, it is a bug in the Visual Studio Tools for the Git:

Basically, this issue is: Visual studio tools for git does not automatically show new published branches in coworker machines. With version 8.5.1. you have to remove the tagopt = --tags option from .git/config, then go to command line and do a git fetch and then a git checkout -b <newBranchName> origin/<newBranchName>.

I took reference from this:

Hope it helps!

Browse Categories