Migrate from tfs to git
Download git-tfs:
Right click on My Computer -> Properties -> Advanced system settings -> Environment variables -> System variables -> Path
Add ;C:\TfsMigration\GitTfs-0.25.1 to the end of the Path variable.
Open Command Prompt as Administrator and run these commands with your own values:
git tfs clone http://myserver:8080/tfs/DefaultCollection $/PIK.BOP/Trunk . --branches=all
git remote add origin http://user@myserver/apps/autobop-backend.git
I use -c http.sslVerify=false because I have problems with my server certificate.
git -c http.sslVerify=false push --all origin
If your server is configured properly, run the same command without -c http.sslVerify=false:
git push --all origin
The full guide to migrating from tfs to git:
https://github.com/git-tfs/git-tfs/blob/master/doc/usecases/migrate_tfs_to_git.md
I do product consulting, build MVPs and teach people to build products themselves. Work with me →