I wrote something I didn't want in the commit comment.
git commit -m "comentario indeseado"
git push
How can I change or update the message?
Eye, I already did push and I want to remove the message in the repository too.
It's possible?
I wrote something I didn't want in the commit comment.
git commit -m "comentario indeseado"
git push
How can I change or update the message?
Eye, I already did push and I want to remove the message in the repository too.
It's possible?
==> Replace the message of the last commit like this:
Doing this is considered bad practice and has its risks, as mentioned in this link:
Why shouldn't I rewrite published commits?