about git undo

git is a powerful tool but really hard to pick up soon.

and I found one article is very good at git undo: [the second comment]

http://stackoverflow.com/questions/927358/how-to-undo-the-last-git-commit