简体   繁体   English

TFS 从 TFVC 迁移到 Git

[英]TFS migrating from TFVC to Git

Me and my team were using TFS 2015, using TFVC.我和我的团队正在使用 TFS 2015,使用 TFVC。 We installed TFS 2018 and we are moving our projects to TFS 2018. We'd like to use Git instead of TFVC.我们安装了 TFS 2018,并将我们的项目转移到 TFS 2018。我们想使用 Git 而不是 TFVC。

Can we do this easly?我们可以轻松做到这一点吗?

You can use the built-in TFS migration:您可以使用内置的 TFS 迁移:

在此处输入图片说明

在此处输入图片说明

In this way, you can keep the history only of the last 180 days.这样,您可以只保留最近 180 天的历史记录。

Another option is to use git-tfs , the git-tfs tool is a two-way bridge between Team Foundation Version Control and Git, and can be used to perform a migration.另一种选择是使用git-tfs ,git-tfs 工具是 Team Foundation Version Control 和 Git 之间的双向桥梁,可用于执行迁移。 Git-TFS is appropriate if you want to attempt a migration with full history, more than the 180 days that the Import tool supports, or if you want to attempt a migration that includes multiple branches and merge relationships.如果您想要尝试具有完整历史记录、超过导入工具支持的 180 天的迁移,或者想要尝试包含多个分支和合并关系的迁移,则 Git-TFS 是合适的。

More info you can find here and here .您可以在此处此处找到更多信息。

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

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