Reputation: 319
I have a scenario where I have the root project that has the code that is in production, and I two branches off of that. One if for maintenance for when we have defect fixes, and minor enhancements. The other branch name "Major" is for a major enhancement that will take us 4 months before we are ready to deploy. When we make a change to the maintenance branch, we will want to merge that to root when we deploy, and then merge the changes into the Major branch as well. I don't see how to do that in TFS. In the past I thought I could just use branch from the root folder and choose Major as the target, but TFS complains that the branch already exists. Suggestions?
root
|
|--Maintenance
|--Major
Upvotes: 0
Views: 215
Reputation: 59055
You want to merge. You merge from Maintenance
to root
, then merge from root
to Major
.
Upvotes: 1
Reputation: 1050
You should be able to do what you are suggesting. I'm curious about "... I thought I could just use branch from the root folder and choose Major..." You would merge, not branch.
Your steps would be:
If you cannot perform these steps, then perhaps the branches were not created from the root. Good luck!
Upvotes: 3