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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
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