How to change the message of a pushed commit

This question already has an answer here:

  • Changing git commit message after push (given that no one pulled from remote) 9 answers

  • This is not possible. A commit is the culmination of many things, including its message.

    Changing the message would change the hash, which means it's a new commit. This would change history.

    链接地址: http://www.djcxy.com/p/49846.html

    上一篇: 如何在git中修改提交消息?

    下一篇: 如何更改推送提交的消息