git commit amend after commmit is pushed code example
Example: how to change a commit message after push
git commit --amend -m "New commit message"
Then
git push --force
and you're done
git commit --amend -m "New commit message"
Then
git push --force
and you're done