我们可以直接将TFS 2015迁移到Azure DevOps吗? [英] Can we Migrate TFS 2015 to Azure DevOps Directly?

查看:79
本文介绍了我们可以直接将TFS 2015迁移到Azure DevOps吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算迁移到Azure DevOps.目前,我们内部有TFS2015.根据该文章,它说我们必须迁移到TFS 2018,然后才能迁移到Azure DevOps.我们不能从TFS 2015迁移到Azure DevOps吗?

I'm planning to move to Azure DevOps. Currently we have TFS2015 in house. Based on the article it says we have to migrate to TFS 2018 before migrating to Azure DevOps. Can't we migrate from TFS 2015 to Azure DevOps?

推荐答案

以上所有答案都是正确的.但是,如果您只需要存储库,则有另一种选择.如果要迁移源代码存储库,请执行以下操作:

All of the above answers are correct. But there is an alternative IF you only want your repositories. If you want to migrate your source code repositories:

选项1)如果TFVC(TFS版本控制)-基本创建一个本地工作区,将其复制到新的本地git存储库中,创建一个新的Azure DevOps git存储库,然后将本地git存储库推送到新的空git存储库中,重复执行

Option 1) If TFVC (TFS Version Control) - Basically create a local workspace, copy it into a new local git repo, create a new Azure DevOps git repo, then push local git repo to new empty git repo, repeat as necessary.

选项2)如果TFS 2015已经托管了Git仓库,则只需克隆所有分支和标签的git仓库,创建一个新的Azure DevOps git仓库,然后将本地git仓库推送到具有所有分支和标签的新的空git仓库,请根据需要重复(脚本涉及更多,但可以自动执行,这就是我所做的.)

Option 2) If TFS 2015 is hosting Git repos already, then just clone the git repos with all branches and tags, create a new Azure DevOps git repo, then push local git repo to new empty git repo with all branches and tags, repeat as necessary (script is more involved but can be automated, this is what I did).

我们仅使用TFS 2015进行版本控制,因此我们只选择一次移动一个项目.

We were only using TFS 2015 for version control only, so we opted just to move one project at a time.

这篇关于我们可以直接将TFS 2015迁移到Azure DevOps吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆