简体   繁体   English

VSTS上的GIT与TFVC同步

[英]synchronization TFVC with GIT on VSTS

Anyone know a synchronization solution between TFVC on premise (TFS) with GIT (VSTS cloud based)? 任何人都知道本地TFVC(TFS)与GIT(基于VSTS云)之间的同步解决方案吗? does it possible to connecting those platform ? 是否可以连接那些平台? really need your help 真的需要你的帮助

Refer to this article to migrate from TFVC to Git: Migrate from TFVC to Git 请参阅本文,从TFVC迁移到Git: 从TFVC迁移到Git

Requirements 要求

In order to make migrations simple, there are a number of requirements on the TFVC Import tool: 为了简化迁移,TFVC导入工具有许多要求:

  1. Only a single branch is migrated. 仅迁移一个分支。 When planning your migration you should choose a new branching strategy for Git; 在计划迁移时,您应该为Git选择新的分支策略。 migrating only the main branch supports a topic-branch based workflow like GitFlow or GitHub Flow. 仅迁移主分支支持基于主题分支的工作流,例如GitFlow或GitHub Flow。
  2. A “tip migration”, importing only the latest version of the source code, is suggested. 建议进行“技巧迁移”,仅导入最新版本的源代码。 You can opt to migrate some history, up to 180 days, so that your team doesn't need to refer back to TFVC as often, but this is discouraged unless your history is very simple. 您可以选择迁移某些历史记录(最长180天),这样您的团队就不必经常参考TFVC,但是除非您的历史记录非常简单,否则不建议这样做。
  3. You do not have binary assets like images, scientific data sets, or game models in your repository. 您的存储库中没有二进制资产,例如图像,科学数据集或游戏模型。 These assets should use the Git LFS (Large File Support) extension, which the import tool does not configure. 这些资源应使用导入工具未配置的Git LFS(大文件支持)扩展名。
  4. The imported repository cannot exceed 1GB in size. 导入的存储库大小不能超过1GB。

If you do not meet these requirements, you can use the Git-TFS tool to perform the migration, or perform a manual migration. 如果不满足这些要求,则可以使用Git-TFS工具执行迁移,或执行手动迁移。

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

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