how to modify commit message in git after push code example Example: change message from last pushed commit git commit --amend