Can not undo pending changes in Visual Studio 2013

Jump to: navigation, search

If you have attempted to undo pending changes but the files are still listed as included files for check-in, it is likely the files are locked in TFS. Since you might prefer to leave the lock, you can try the following work-around. Delete the files from your local directory and then get latest. Then view pending changes. If the files are still listed as included pending-changes try the next step. Compare your file to latest and hand edit the files so they match exactly. Since you deleted the files and performed a Get Latest, the differences should be non-existent or trivial. Then try to check-in the files. TFS will fail to check-in because of the lock, but now the files will no longer appear in include changes during check-in.

See also

Personal tools
Namespaces
Variants
Views
Actions
Navigation