简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM