0 votes
1 view
in Azure by (45.2k 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: http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c/view/Discussions/2

Hope it helps!

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...