Revert TFS branch to original

I am using TFS. On my branch I checked a bunch of changes that I now want to undo.

I can click on a branch in TFS Source Control and look at the history, and get the original branch, but when I check it for editing ... it will go back to the branch that I cheated.

I tried both "View History", then right-click on the orignal "create" branch and then "get this version"

And I also tried right-clicking on the branch and "Get a specific version."

I also tried deleting local files for this branch.

How do I get the original version?

(Note: deleting + re-creating a branch is a huge process, so I would like to stay away from this)

+5
source share
1 answer

Depending on the version of TFS used and whether the TFS power tools are installed, you can find it in the history panel (in the "Rollback" section). You can always do this from the command line using

Rollback tf.exe

+3
source

All Articles