I have committed a file with message 'initial2'. Then I commit again with 'initial3'.
I execute the command git rebase -i HEAD~2
I see the vim editor with the following content.
pick 284d2e1 'initial2'
pick e32d7f3 'initial3'
I edit 'initial2'
to 'initial2aaaaa'
and close the editor with :wq
.
However, my message is not changed. I still see initial2
.