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?
Asked
Active
Viewed 2,820 times
1 Answers
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
-
+1 the right answer. Would you mind VTCing this Q and moving your answer to the cited earlier one please though? – Ruben Bartelink Dec 06 '13 at 01:06