how to edit a commit message in git without rebase code example Example: change message from last pushed commit git commit --amend