[英]How do I move a Project from TFS to Git in Visual Studio Online?
I have an existing project in Visual Studio Online that is currently using TFS for source control, how can it be changed to git?我在 Visual Studio Online 中有一个现有项目,目前正在使用 TFS 进行源代码控制,如何将其更改为 git?
I see numerous articles on renaming but not changing the Source Control.我看到很多关于重命名但不更改源代码管理的文章。
With https://gittf.codeplex.com/ , you can take your existing Team Project using TFVC, convert it into a Git repository, and then use the regular Git tools to push the repository into your new Git Team Project.通过https://gittf.codeplex.com/ ,您可以使用 TFVC 获取现有的团队项目,将其转换为 Git 存储库,然后使用常规 Git 工具将存储库推送到您的新 Git 团队项目中。 It's pretty straightforward.这很简单。
Given how TFVC handles branches versus how Git handles branches, you may need to massage the structure of your source code a little bit after the migration.考虑到 TFVC 处理分支的方式与 Git 处理分支的方式,您可能需要在迁移后稍微调整一下源代码的结构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.