问题
We are using visual studio online, and we use the git support of TFS. We now want to stop using git and use TFVC instead.
What is the best solution to migrate our source code to TFVC ?
回答1:
Assume you are creating another project in VSO and moving the source code, as per today you cannot change or mix TFVC with Git in the same project.
There is no best solution, but I can recap some techniques.
- forget about history, pull down and check into the new version control
- use git-tf (no branch support)
- use git-tfs
- use the Integration Platform to sync everything
Option 1 is the simplest, 4 the most complex. Two and three are similar and again depends on the richness of data you want to save.
来源:https://stackoverflow.com/questions/25785072/migrate-source-code-from-git-to-tfvc