Migrating from TFS to Git

2019-01-16 05:14发布

Is it possible to migrate from TFS 2008 to Git, and still preserve all the history, etc? I've seen some references that talk about doing it through SVN, but that seems rather complicated, and complicates my mission to introduce Git at my job.

标签: git tfs
2条回答
仙女界的扛把子
2楼-- · 2019-01-16 05:56

There is a direct way its called git-tfs and it's up on github.

You just do a

  git tfs clone <tfs server> <tfs project>

I recommend getting the source and adding it to your path separately so that you can debug it for any strangeness, but the code is pretty easy to step through.

I had a file that was an msi that was 500 MB that the client stored in tfs, that wouldn't convert, took a few hours to narrow it down.

查看更多
Emotional °昔
3楼-- · 2019-01-16 06:05

I wrote blog on migration of source code from TFS to Git, by maintaining your check-in history. Hope it will help:

Blog: TFS to GIT Migration

查看更多
登录 后发表回答