-1

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.

1 Answers1

0

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

Community
  • 1
  • 1
Amit Dalal
  • 642
  • 8
  • 20