简体   繁体   English

源码从 TFS 2013 迁移到 Azure Devops 服务

[英]Source code migration from TFS 2013 to Azure Devops service

Please suggest if someone has experience of migrating source code of 3-4 applications (including their dev, stage & production environment) from TFS to Azure Devops into Git repository & then build the CI/CD pipeline.请建议是否有人将 3-4 个应用程序的源代码(包括他们的开发、阶段和生产环境)从 TFS 迁移到 Azure Devops 到 Z0BCC70105AD279503E31FE7B3F47B6 存储库和管道然后构建。 We don't require work items or history to be migrated.我们不需要迁移工作项或历史记录。

Can someone give high level steps & what would be approach for migration?有人可以提供高级步骤以及迁移的方法吗?

On premise TFS service is TFS 2013 & source code is to be migrated to Azure Devops services.本地 TFS 服务为 TFS 2013 并且源代码将迁移到 Azure Devops 服务。 Currently they are using TFVC.目前他们正在使用 TFVC。 Also these are .net applications.这些也是 .net 应用程序。 One of the application is having around 9.5 GB of data to be migrated.其中一个应用程序需要迁移大约 9.5 GB 的数据。 Kindly advice the process and tools which could help with code migration.请建议可以帮助进行代码迁移的过程和工具。

Since you are working on TFVC, you need to use a third-party tool GIT-TFS .由于您正在使用 TFVC,因此您需要使用第三方工具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 工具是 Team Foundation 版本控制和 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 是合适的。

You simply need to go through the following five steps to migrate your TFCV repo to Git.您只需通过以下五个步骤将您的 TFCV 存储库迁移到 Git 即可。

  1. Step 1: Install git-tfs.第 1 步:安装 git-tfs。 There are multiple tools to migrate from TFVC to Git.有多种工具可以从 TFVC 迁移到 Git。 ... ...
  2. Step 2: Export to local Git Repo.第 2 步:导出到本地 Git 仓库。 ... ...
  3. Step 3: Cleanup New Git Repository.第 3 步:清理新的 Git 存储库。 ... ...
  4. Step 4: Create new Git Repo in TFS.第 4 步:在 TFS 中创建新的 Git 存储库。 ... ...
  5. Step 5: Initial Commit to Git Repo.第 5 步:初始提交到 Git 存储库。

More details please take a look at this blog--Migrate From TFVC To Git – 5 Simple Steps更多细节请看这篇博客——从 TFVC 迁移到 Git – 5 个简单步骤

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

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