您可以在 tfs/tfs 服务中将多个 git 存储库添加到团队项目中吗? [英] Can you add multiple git repositories to a team project in tfs / tfs service?
问题描述
我目前正在将 tfs 服务用于一个涉及多个不同部分(即网站、电话应用程序等)的项目.其中一些部分确实属于它们自己的存储库,尤其是一些是 .net,一些是 java/android.
I'm currently using tfs service for a project which involves several different parts (i.e. a website, a phone app etc). Some of these parts really belong in their own repositories, especially as some are .net and some are java / android.
有没有办法在 tfs/tfs 服务中将多个 git 存储库添加到团队项目中?
Is there any way to add multiple git repositories to a team project in tfs / tfs service?
我可以创建独立的团队项目,但我宁愿不必那样做.
I could create independent team projects, but I'd rather not have to do that.
推荐答案
您可以在单个团队项目下创建多个 git 存储库.导航到代码资源管理器,在 Web 界面中找到存储库选择器,然后选择管理存储库...
You can create multiple git repositories under a single Team Project. Navigate to the Code Explorer, and locate the repository chooser in the web interface and select Manage Repositories...
从存储库管理器中,您可以添加一个新存储库:
From the repository manager, you can add a new repository:
当然,前提是团队项目使用 Git 作为版本控制提供程序 - 您不能在单个团队项目中混合和匹配 Git 存储库和团队基础版本控制.
This, of course, is provided that the Team Project uses Git as the version control provider - you can't mix and match Git repositories and Team Foundation Version Control in a single Team Project.
这篇关于您可以在 tfs/tfs 服务中将多个 git 存储库添加到团队项目中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!