Do you know the best tool to migration from TFVC to Git?
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-Tfs (recommended)
VisualStudio.com - Import Repository
VisualStudio.com gives you the ability to import from a TFVC repository into a new Git repository.
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 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.
To see how to use this to migrate see "Migrate an existing project from TFS to Git with changeset history intact" from Chris Kirby
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 maintained
- Good support for branches
- Author mapping
- Migrates all history