git revert in local i dont want to push code example Example: cancel a commit not pushed git reset --soft HEAD~