Edit pushed commit message in EGit

I want to edit the commit message of a pushed commit.

I tried it using the "revert Commit" button, but got this error:

An internal error occurred Cannot revert commit '9b424b08c83baffd18c2d5dffbe5bdb902c0cf63' because it has 0 parents, only commits with exactly one parent are supported

Note: It's the Initial Commit.


Try git commit --amend . It'll allow you to change commit message of your last commit. More info here.

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

上一篇: 追溯重命名分支?

下一篇: 在EGit中编辑推送提交消息