re: One Command to Change the Last Git Commit Message VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Can you explain if there is a better way to do this once you have committed and pushed to remote the wrong commit message? You cannot do it without...
 

I think you can revert your commit with the wrong message.

Now, cherry-pick your commit with the wrong message, amend it, replace with the right message and push without --force.

Ok, there are a little bit more manipulation but you avoid the wrath of your team. :)

code of conduct - report abuse