On TFS/TFVC I have this project with these branches:
|_ProjectAbc
|__ProjectAbc_Main
|__ProjectAbc_Dev
Now I'm migrating all my TFS projects to Git using the Azure DevOps Portal.
There I click on "Import Repository" and choose to import from TFVC. At this is all fine.
But the "Import Repository" don't recognise and separate the branches.
My idea is to create a Git repository by importing the ProjectAbc_Main
branch to be the master
and then create a branch based on master
to be my DEV
branch.
But I want to import my TFS ProjectAbc_Dev
branch to my Git DEV
branch and include all the history too.
How can I do that?
I can change my Git DEV
branch with the TFS ProjectAbc_Dev
branch and then sync the branch, but with this I loose my ProjectAbc_Dev
history and I want to keep the history.
Any idea?