What are the consequences of renaming a branch in TFS 2012?

前端 未结 3 1636
遥遥无期
遥遥无期 2021-02-11 18:18

I\'ve read in many places that renaming a branch is rather problematic in TFS 2010 : you may lose the history of the branch you just renamed ( as seen in this article or in this

3条回答
  •  一生所求
    2021-02-11 19:02

    You can do it, but depends what situation you're in. For my situation, I have the following structure:

    Development
       ProjectX
          ProjectY
    Main
    Release
    

    ProjectX is getting released sooner than ProjectY and it was merged to Development-->Main a week ago. Now, the name ProjectX isn't relevant anymore and also, there's a new project starting with a name ProjectZ so, I'm going to rename ProjectY to ProjectZ and rename ProjectX to ProjectY.

    Both X, Y and Z are to be merged fully once they move to the standard release cycle so I don't have to worry about merging piece by piece.

提交回复
热议问题