TFS: Undo checkout of unmodified files

Here is another one of those shortcuts I have not been aware of. :D

I hate TFS version control.  There are many reasons, but one irritating thing is that it is incapable of detecting if a file has actually changed or not.

Here is a little commandline script you can run in your project to undo all unchanged files:
tfpt uu . /noget /recursive
Note: You need to install Team Foundation Server Power Tools.
Post a Comment

Popular Posts