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?
Found it, apparently it's a bug in Visual Studio Tools for Git:
To summarize this issue: 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 agit checkout -b <newBranchName> origin/<newBranchName>
.
(Source: http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c/view/Discussions/2
Title : "Can't see remote branches"; written April 25, 2013 by HectorCruz)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With