- https://stackoverflow.com/questions/8981194/changing-git-commit-message-after-push-given-that-no-one-pulled-from-remote/41987851#41987851
For the latest commit message¶
- https://stackoverflow.com/a/44627257
git commit --amend -m "[ commit_message ]"
For multiple or commit messages older than the latest¶
- https://stackoverflow.com/a/41987851
git edit rebase -i HEAD~n
e.g.
git edit rebase -i HEAD~7
git rebase --continue