Migrate Git to TFS with all history

前端 未结 2 1537
失恋的感觉
失恋的感觉 2020-12-29 10:03

Is there any way to migrate a git repository to TFS with all it\'s history like versions, branches and push messages? Now the source is on Github and I want to migrate that

2条回答
  •  再見小時候
    2020-12-29 10:18

    The Branches in TFS are mapped to folders, which doesn't easily convert from the way branches work in Git. Grabbing one branch and pushing that, with history to TFS should be possible though. You'll have to use Git tf checkin --deep

    See:

    • http://blog.simontimms.com/2013/04/02/importing-a-git-repository-into-tfs/

    If you want to migrate to TFS the easiest migration path is to TFS 2013 or Visual Studio Online, which has native Git support.

提交回复
热议问题