Migrating source code from TFS to VSTS

前端 未结 2 1093
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 15:26

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

相关标签:
2条回答
  • 2021-01-21 15:42

    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.

    0 讨论(0)
  • 2021-01-21 15:57

    Add "--deep" when you perform git-tf clone:

    git-tf clone http://onprimisetfsurl/ $/project --deep
    

    Add my steps for your reference:

    1. git-tf clone http://tfsurl $/tfsproject --deep
    2. Create a project "vstsproject" in VSTS.
    3. Delete the "BuildProcessTemplates" folder in the vstsproject from web portal.
    4. Create a new folder for vstsproject on local machine.
    5. Run "git init" to set this folder to a git repository.
    6. Pull the changes in tfsproject into the new created repo.
    7. Run "git log" to make sure the history is correct.
    8. git-tf configure https://vstsurl $/vstsproject --deep
    9. git-tf checkin --deep
    0 讨论(0)
提交回复
热议问题