Reputation: 97
I'm trying to use git-tf to migrate some old TFVC projects from our local TFS to AzureDevOps (also a project with TFVC).
git-tf clone ... works No I have the folder e.g. C:\TFSMigration\ProjectX
When I do git-tf checkin --deep the sourcecode is checked in in DevOps correctly but all files are in the parent-repository not in $DevOpsProjectWithTFVC/ProjectX
Here is my config:
collection = https://myCompany.visualstudio.com
serverpath = $/DevOpsProjectWithTFVC
Upvotes: 0
Views: 963
Reputation: 23
For this to work, you need a clean git clone of you original TFVC. Do the following:
git-tf clone <TFVC> <Branch> --deep
from the original TFVC to a local git repo.git clone <Local git repo>
the local repo to a new folder in your local computer.git-tf configure <Destine TFVC> --deep
(Execute this inside the new folder cloned from the git repo)git-tf checkin
The first clone you execute using git-tf is mapped to the original TFVC so you won't be able to push the changes from there.
Upvotes: 0