Tuesday, March 8, 2011

Undo unchanged files in TFS 2010

Download the Team Foundation Server Power Tools here: http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

Then after a reboot on W7 you can use the following command from your workspace directory:
tfpt uu . /noget /recursive

Do not forget the /noget switch or else you're changes will be lost!


  1. how to plug this in with a right click context menu in the source control explorer?

  2. I don't think there is a standard tool for this. I've also find out that this command only undo the untouched files, not all unmodified files.

    You can find some more info on Stack Overflow: