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

ぃ、小莉子 提交于 2019-12-03 13:31:24

问题


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.


回答1:


@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

Connect to the Git Repository in the Team Project

Tada!



来源:https://stackoverflow.com/questions/22616639/how-do-we-connect-to-tfs-from-all-git-repositories-in-a-team-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!