Migrating from TFS to Git

GitTfs

Git Problem Overview


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 Solutions


Solution 1 - Git

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.

Solution 2 - Git

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionHenningView Question on Stackoverflow
Solution 1 - GitDevelopingChrisView Answer on Stackoverflow
Solution 2 - GitPrasad TelkikarView Answer on Stackoverflow