将源代码从 TFS 迁移到 VSTS [英] Migrating source code from TFS to VSTS

查看:30
本文介绍了将源代码从 TFS 迁移到 VSTS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将源代码从 TFS 迁移到 VSTS.我尝试使用 git-tf 命令进行迁移并且能够成功迁移,但我无法迁移历史记录.有人可以指导我做错什么.请注意,我不是迁移到 GITVC,而是从内部部署的 TFS 服务器迁移到 Visual Studio 中的 TFVC.

I am trying to migrate Source code from TFS to VSTS. I tried git-tf command to migrate and was able to migrate successfully but i am not able to migrate the history. Can someone guide me on what i am doing wrong. Please note i am not migrating to GITVC but migrating to TFVC in Visual studio from On premise TFS server.

步骤是...

  1. git-tf 克隆 http://onprimisetfsurl/ $/project 项目
  2. git-tf 克隆 http://Visualstudiotfvcurl/ $project project1
  3. git pull project1 到项目中
  4. git-tf 签入 --deep
  1. git-tf clone http://onprimisetfsurl/ $/project project
  2. git-tf clone http://Visualstudiotfvcurl/ $project project1
  3. git pull project1 into project
  4. git-tf checkin --deep

推荐答案

查看 OpsHub https://visualstudiogallery.msdn.microsoft.com/28a90a17-d00c-4660-b7ae-42d58315ccf2 因为这是 VSTS 经理推荐的那个 https://blogs.msdn.microsoft.com/bharry/2014/05/14/migrating-on-premises-tfs-to-vs-online/https://www.visualstudio.com/en-us/articles/adopting-vsts 还包括其他工具,如果这对您不起作用.

Look at OpsHub https://visualstudiogallery.msdn.microsoft.com/28a90a17-d00c-4660-b7ae-42d58315ccf2 since that is the one that was recommended by the VSTS manager https://blogs.msdn.microsoft.com/bharry/2014/05/14/migrating-on-premises-tfs-to-vs-online/ https://www.visualstudio.com/en-us/articles/adopting-vsts also covers other tools if that doesn't work for you.

这篇关于将源代码从 TFS 迁移到 VSTS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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