Migrating source code from TFS to VSTS

荒凉一梦 提交于 2019-12-01 22:45:06

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!