已答复 TFS 2010: Delete/Remove Branch

  • Wednesday, June 02, 2010 9:37 AM
     
     

    Hi,

    I accidentally branched into the wrong sub folder and now I have a Branch at a totally wrong Position in my folder herarchy.

    How can I now get rid of this Branch (with all it's history, ...) (It's even to late to move it, because I did the Branch to the correct location afterwards, because I needed it there)

    I'm using VS 2010 Pro with TFS 2010

    Thanks,
    Reinhard.

All Replies

  • Wednesday, June 02, 2010 9:47 AM
     
     Answered

    Hi,

    Right Click the Branch and click delete and then do a Check-in.

     

  • Wednesday, June 02, 2010 10:26 AM
     
     

    Thanks,

    the problem was thet 'Delete' was grayed.
    I had to get the latest Version before deleteing it was possible, but then it worked.

    • Proposed As Answer by DelphinusC Tuesday, February 19, 2013 7:46 PM
    • Unproposed As Answer by DelphinusC Tuesday, February 19, 2013 7:46 PM
    •  
  • Monday, June 04, 2012 9:47 PM
     
     Proposed

    Once you create a workspace mapping for your branch and right click "Get latest version", that "Delete" menu will be enabled in the VS Team Explorer.

    Do a Check-in after the Delete command.

    • Proposed As Answer by Kevin Peno Monday, November 19, 2012 10:06 PM
    •  
  • Thursday, January 31, 2013 1:43 AM
     
     Proposed
    • Proposed As Answer by Tony Julien Thursday, January 31, 2013 1:53 AM
    •