git reset --soft HEAD~1
git reset HEAD <pathname>
git checkout --<pathname>
git reset --hard HEAD~1
git revert <commit>