Scott Weinstein
Scott Weinstein

Reputation: 19117

How do I revert a file in TFS

On occasion, I'll end up checking in a file to our TFS db that I didn't intend to. Reverting to the prior version is quite tedious with my current approach.

If there a fast way to revert a file to a prior version in TFS? I'm open to command line, powertool, or UI approaches.

Upvotes: 13

Views: 7714

Answers (2)

Peter Walke
Peter Walke

Reputation: 2518

If you don't want to use the command line, or install the tools, you can also do it in an old-school way:

http://msmvps.com/blogs/vstsblog/archive/2009/01/10/how-to-revert-changes-checked-into-tfs-version-control.aspx

Upvotes: 9

Related Questions