how to remove from pusdhed git commit without changes code example Example: cancel a commit not pushed git reset --soft HEAD~