How do I undo all changes since my last commit?

Q How do I undo all changes since my last commit?
A Like this:
 git reset --hard HEAD^

Also gitx has a nice contextual menu to discard changes.

Last changed by admin on 21 April 2009