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.
git reset --hard HEAD^
Also gitx has a nice contextual menu to discard changes.