简体   繁体   English

如何在 Visual Studio Online 中将项目从 TFS 移动到 Git?

[英]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.

相关问题 如何在 Visual Studio 中将项目从 Git 移动到 TFS - How to move a project from Git to TFS in Visual Studio 将git项目从一个Visual Studio Online帐户移动到另一个Visual Studio在线帐户 - move a git project from one Visual Studio Online account to a different Visual Studio online account 带有Git版本控制的TFS Online项目如何包含多个Visual Studio解决方案? - How can TFS Online project with Git version control include multiple Visual Studio solutions? 在Visual Studio Online上将GIT存储库导入TFS - Import GIT Repository to TFS on Visual Studio Online 连接到TFS或Visual Studio Online中的git存储库 - Connect to git repository in TFS or Visual Studio Online Visual Studio 2008和TFS-Git / Visual Studio在线 - Visual Studio 2008 and tfs-git / visual studio online TFS上的Visual Studio 2017推送错误(使用GIT联机运行Visual Studio) - Visual Studio 2017 push error on TFS (visual studio online with GIT) 如何将现有的 Visual Studio 解决方案从 TFVC 项目移动到 Azure DevOps 上的 Git 项目? - How to move an existing Visual Studio solution from TFVC project to Git project on Azure DevOps? Visual Studio、TFS 和 Git LFS:如何设置远程存储? - Visual Studio, TFS and Git LFS: how do I setup remote storage? 如何在 Visual Studio 中从 TFS visualstudio.com 移动到 GitHub? - How to move from TFS visualstudio.com to GitHub in Visual Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM