Git Soft Reset Head
git reset --soft HEAD^
//resets head by 1
Filthy Fish
git reset --soft HEAD^
//resets head by 1
git reset --hard HEAD
# rollback to commit state
git revert --no-commit 0766c053..HEAD
git commit
# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32