Home
Do you know the best tool to migration from TFVC to Git?
  v1.0 Posted at 4/04/2017 10:28 AM by Eric Phan
Git has become the defacto standard for version control systems. It's distributed and decentralized and promotes working disconnected as default. It also takes away the pain of branching and merging and has a built in code review system with pull requests. Everybody should be using Git, and if you're not, you should be migrating the Git using one of the below tools.
  • VisualStudio.com - Import Repository
  • Git-Tf
  • ​​Git-Tfs (recommended)

​VisualStudio.com - Import Repository

​VisualStudio.com gives you the ability to import from a TFVC repository into a new Git repository. 

03_29_08.png

Bad Example - Built in tool has several limitations
If you don't care about source control history, then this inbuilt tool is the easiest to use. It has the limitations of:
  • ​180 days of history
  • No branches

TIP - Use​​​​ this if you don't care about source control history

Git​​-Tf 

Git-Tf is an open source command line tool ​that works cross platform and use the Java TFS SDK. This tool is useful for migration if you're not on a Windows environment. This tool is not maintained and has issues with migrating branches. 

TIP - ​Use Git-Tf if you don't have a Windows environment

Git-Tfs (​​​Recommended)

Git-Tfs is an open source command line tool that uses the .NET TFS SDK to interface between Git and TFVC. It has the following advantages over the other tools:
  • ​Actively mainained
  • Good support for branches
  • Author mapping
  • Migrates all history​
Follow the migration guide to import from TFVC to Git.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.