Will Strohl
Will Strohl

Reputation: 1680

Safely rename branch in TFS 2015

I have a branch created in TFS 2015 that has a lot of work already done, but not yet checked-in. However, I need to rename the branch now, but I don't want to have to lose or reapply existing updates in order to do so.

Is there a way to safely change the branch name without losing any work?

Upvotes: 1

Views: 6212

Answers (1)

DaveShaw
DaveShaw

Reputation: 52788

Is there a reason you don't want to checkin before the rename? That sounds like the safest approach.

If not, I would create a shelveset as a backup before renaming. Then when you unshelve you might need to use the TFS Power Tools to do a tfpt unshelve /migrate.

Upvotes: 2

Related Questions