I am new to Team Foundation server and someone committed changes that they weren't supposed to the night previous. I need to revert this changeset so that when people get latest version they will not get these changes.
I see no easy way to do this, does anyone have experience with this?
Rollback entire changeset will give you a set of Pending Changes that when checked in will "undo" what was done in changeset 601. The result is that you will have 3 changesets: 600, 601, 602. And the resulting state will be the same as after 600.
In the local toolbar of the File List, click , then select Undo Check Out (for selected files) or Project > Undo Check Out All (for all files in the project).
Without using power tools or command line: ensure Tools->Options->Source Control->Visual Studio Team Foundation Server UNCHECK Get latest version of item on check out. View the history of project folder in Source Control Explorer and right click on the changeset to roll back to and choose Get This Version.
You can't really rollback a changeset. What you have to do is:
You have to do this separately for every file. There you can look at the TFS Power tools which has a rollback that kinda automates the manual steps listed above.
Good luck!
I think you are looking for the rollback command: Rollback docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With