Reputation: 21
I have a local Git repository and I needed to migrate all the code and all history to TFS source control project. Anyone has a solution to share?
PS: I already know how to make the migration from local Git to TFS Git based Team Project.
Upvotes: 1
Views: 1262
Reputation: 31147
Edit: my feeling was good... TFVC is no more a source control of the future. Microsoft itself is moving away and standardise around Git for ALL its projects!
Upvotes: 0
Reputation: 31033
You can migrate all history of main branch from local repo to a new TFVC team project with following steps:
git-tf checkin --deep
command to checkin the local repo to a TFVC team project. By default, the checkin command will create a single TFS changeset for the aggregate of all changes made on the current branch in Git since the last checkin to TFS. When used with the --deep option, a TFS changeset will be created for each Git commit on the current branch since the last checkin to TFS. Upvotes: 3