你可以在tfs / tfs服务中将多个git存储库添加到团队项目中吗? [英] Can you add multiple git repositories to a team project in tfs / tfs service?

查看:262
本文介绍了你可以在tfs / tfs服务中将多个git存储库添加到团队项目中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在使用tfs服务来执行涉及多个不同部分(即网站,电话应用等)的项目。其中一些部分实际上属于他们自己的仓库,尤其是一些.net和一些是java / android。

有什么方法可以将多个git存储库添加到我可以创建独立的团队项目,但我宁愿不必这样做。

div class =h2_lin>解决方案

您可以在单个团队项目下创建多个git存储库。导航到代码资源管理器,并在Web界面中找到资源库选择器并选择管理资料库...

://i.stack.imgur.com/ggjqB.gifalt =Repository Chooser>



在资源库管理器中,您可以添加一个新的资源库:





当然,这是因为团队项目使用Git作为版本控制提供者 - 您不能在单个团队项目中混合使用Git存储库和Team Foundation版本控制。 p>

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.

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.

解决方案

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:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆