简体   繁体   English

是否可以在不同的TFS服务器之间进行合并或分支?

[英]Is it possible to Merge or Branch between different TFS servers?

I want to branch my solutions to a different TFS server with TFS 2010. 我想将我的解决方案分支到使用TFS 2010的不同TFS服务器。

Is there any way to do this? 有没有办法做到这一点?

You cannot branch between servers (or Project Collections) in TFS. 您无法在TFS中的服务器(或项目集合)之间进行分支。

Do you need to do a one off move to a new server? 你需要一次性搬到新服务器吗? In that case, restoring a backup of your current server to the new server and deleting the Team Projects you don't need might be a solution. 在这种情况下,将当前服务器的备份还原到新服务器并删除不需要的团队项目可能是一种解决方案。 If you need to be able to "merge" the code back to the original server at some point you could look at the TFS Integration Tools . 如果您需要能够在某些时候将代码“合并”回原始服务器,您可以查看TFS集成工具 This will allow you to move the code over to a new server and also keep the code synchronised. 这将允许您将代码移动到新服务器并保持代码同步。

However there are limitations with the toolkit, see the link for more information. 但是,工具包存在限制,请参阅链接以获取更多信息。

Why do you need to use a new server? 为什么需要使用新服务器? Why won't a new branch in the current Team Project suffice? 为什么当前团队项目中的新分支不足以满足要求?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM