how tto change a commit message after push code example Example: git amend commit message after push $ git commit --amend -m "New and correct message"