rename message git code example
Example 1: change commit message after push
git push --force <repository> <branch>
Example 2: change commit message after push
git push --force-with-lease <repository> <branch>
git push --force <repository> <branch>
git push --force-with-lease <repository> <branch>