TFS - Undo Unchanged Files
Annoyingly, TFS has a habit of checking out a bunch of files that may have no changes to them. For example .aspx.designer.cs files when the only change is to the .aspx file.
TFS Power Tools has a command that lets you undo the checkout on all these files.
This solution won’t help with reverting whitespace only changes (all the parenthesis have moved by one character - let’s make a horrible diff).
Download the appropriate version of TFS Power Tools for your version of TFS. eg:
Then run the command:
tfpt uu . /noget /recursive
You should run this command inside the TFS checkout directory otherwise TFPT won’t know which repository to connect to.
This post shows how to configure Visual Studio to have this as an easy menu command: