I currently have a solution in TFS with only a Dev Folder:
/Dev
I would like to implement a branching strategy for this solution:
/Dev
/Main
I understand I can use the Convert to Branch feature, however how can I establish a relationship between the new parent (Main) branch and the existing child (Dev) branch?
I do not want to rename Dev to Main because I want to preserve the existing check-in history in the dev branch. Is there another way I can do this to establish the existing Dev branch as child and the new Main branch as parent, without having to rename Dev?
If main doesn't exist yet then just take a branch from dev and call it Main. Once you've done this then you can reparent the branch so that dev is a child of main.
To do this select Dev in source control explorer and right click, then select "Branching and merging". Finally select "reparent" and use the UI to change the relationship with main.
If Main does exist then you will need to perform a baseless merge to establish the branch relationship
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With