Revert

Undo modifications that have been made to the working copy.

Sometimes I make changes to my working copy that I simply don’t intend to keep.  Perhaps I tried to fix a bug and discovered that my fix introduced five new bugs which are worse than the one I started with.  Or perhaps I just changed my mind.  In any case, a very nice feature of a working copy is the ability to revert the changes I have made.

A complete revert of the working copy will throw away all your pending changes and return the working copy to the way it was just after you did the checkout.