Modify Commit Message git commit --amend git commit --amend -m "New commit message" Change the message of a commit that has already been pushed to a remote branch. git push <remote> <branch> --force # Or git push <remote> <branch> -f References How to modify existing, unpushed commit messages?