I know there have been a number of developments on support for git in the VS2012. We currently have a Team Foundation Server 2012 (Update 2) with all of our projects on it stored in the classic TFS format.
We are wanting to move from TFS to a pure git repo system (shared folder with git repos).
What is the best way to migrate our existing TFS projects into git repos so that they maintain their full commit log etc?
Is TFS2Git still the way to go?
Cloning the whole TFS Project CollectionYou can clone all projects by specifying $/ as the tfs-repository path. If you do not specify a git repository name, it will clone into tfs-collection .
Compared to our time with TFS, we have much less merge conflicts now are on Git. The main reason is that Git does a three-way merge because it knows exactly where two branches started to diverge.
Azure DevOps Services and TFS provide two models of version control: Git, which is distributed version control, and Team Foundation Version Control (TFVC), which is centralized version control.
There's an article by Black Marble on using git tf
and doing a clone with --deep
to maintain history when transferring between TFS instances. The same should apply for migrating to Git.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With