Undo changes

To undo all your local changes to an item since the last update, use the Revert option.

This operation does not affect any changes that you have already committed. It only reverts your local changes, and restores the item to the version to which it was last updated. To undo all changes up to a specific revision, you need to use the Revert to Revision option.
  1. In the Solution Explorer, right-click an item and select Revert. The Revert window displays a list of all the items you changed locally since your last update.
  2. In the Select items to revert window, check the required items.
  3. Click OK.
    Note: Since you cannot undo a revert operation, you might consider backing up your local changes before reverting them.
    Undo changes to an item
Related actions
Revert an item to a specific revision
Perform a Subversion operation from Pending Changes