To revert an entire commit.
git checkout <file> re-checkout <file>, overwriting any local changes
git checkout <file>
Should be able to git add changed files that you are interested in committing the revised changes and git commit --amend
http://stackoverflow.com/questions/927358/git-undo-last-commit