In this article, we will show you how to change commit message that already pushed in Git. In the previous article, we showed you how to change unpushed commit message in Git.
Checkout more articles on Git
If you have already pushed your code to git remote branch then first execute previous command and follow the command below to forcefully push the commit message.
git push <remote> <branch> --force
git push <remote> <branch> -f
That’s it for today.
Thank you for reading. Happy Coding..!!