There\'s ways to change the message from later commits:
git commit --amend # for the most recent co
To expand on ecdpalma's answer, you can now use the --root
option to tell rebase
that you want to rewrite the root/first commit:
git rebase --interactive --root
Then the root commit will show up in the rebase TODO list, and you can select to edit or reword it:
reword
pick
...
This is the explanation of --root
from the Git rebase docs (emphasis mine):
Rebase all commits reachable from
, instead of limiting them with an
. This allows you to rebase the root commit(s) on a branch.