Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we connect to TFS from all Git repositories in a Team Project?

I'm running the latest Visual Studio 2013 Ultimate at work with Update 1. We have the latest Team Foundation Server 2013 as well. Several of us are very excited about the new Git repository integration, but there appears to be a pretty big limitation. We want to add multiple Git repositories to a single Team Project and be able to access the Builds and the Work Items from Visual Studio 2013. It currently only works if your Git repository is named the same as the Team Project.

This is also a limitation for Visual Studio Online as well. My open source SourceLink project only shows Work Items and Builds in Visual Studio 2013 because I've named the remote VSO repository origin and the Team Project and Git Repository are both named SourceLink.

Visual Studio 2013 Update 2 CTP 2 looks like it has some nice Git updates, however, I don't see anything about this. Are there any plans to address this? We want to be able to access Work Items and Builds from every Git repository in a Team Project.

enter image description here

enter image description here

like image 256
Cameron Taggart Avatar asked Mar 24 '14 17:03

Cameron Taggart


1 Answers

@jamill clued me into the solution in the comments above. Git has a slightly different workflow than what we are used to with TFVC. You must connect to the repository, not just the Team Project. I had to click the refresh button for the for repositories to show up, and then double click on the repository name to connect. After that, Work Items and Build show up as expected. Yay!

Before

enter image description here

Connect to the Git Repository in the Team Project

enter image description here

Tada!

enter image description here

like image 119
Cameron Taggart Avatar answered Oct 22 '22 05:10

Cameron Taggart