3

I'm going to happily switch from TFS to git. I can't afford losing the check-in history or my branches. What is the least painful way to convert my TFS repository into a git repository by turning each check-in to a git commit and keeping all the branches?

snakile
  • 52,936
  • 62
  • 169
  • 241

1 Answers1

11

You could try using the TFS2Git Powershell script. There's also a great Git-TF extension you might try:

git tf clone http://myserver:8080/tfs/mycollection $/TeamProjectA/Main

This will effectively keep all your source repository commit history when cloning.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928