Henning
Henning

Reputation: 685

Migrating from TFS to Git

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.

Upvotes: 53

Views: 19647

Answers (2)

Prasad Telkikar
Prasad Telkikar

Reputation: 16059

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

Upvotes: 5

DevelopingChris
DevelopingChris

Reputation: 40788

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.

Upvotes: 64

Related Questions