이현월
이현월

Reputation: 25

Azure Devops Migrate from TFVC to Git

I try to migrate from tfvc to git like the picture1. enter image description here

but nothing comes into git repository like the picture2.

enter image description here

Upvotes: 1

Views: 1333

Answers (1)

Vito Liu
Vito Liu

Reputation: 8278

We can reproduce this issue and we have reported this issue, you could refer to this ticket to get the latest news.

As a workaround, we could migrate the TFVC repo to Git via git cmd.

let’s follow the migration guide and execute the clone command:

git tfs clone {TFVC repo URL}

Get all branches:

git tfs branch –init --all

For each branch, run these commands:

git checkout branch

git log -1

git tfs pull -c=changesetNumber

Create a new repo in the azure devops and get the repo URL. Then setup the git repository upstream:

git remote add origin {New repo URL}

Finally you push all your local changes to the Remote.

git push origin -u -all

We could refer to MIGRATING FROM TFVC TO GIT and Migrate From TFVC To Git for more details.

Update1

According to the latest news: A fix for this issue has been prepared. We’ll update you when it’s available.

Upvotes: 3

Related Questions