I'm trying to change the commit message of a previous commit. I'm trying to use git rebase --interactive <commit>
Once I find the commit I am looking for in the VIM window, when I use the arrow keys to locate the sha1 for the commit, delete the word pick
and start to type 'reword' or 'edit' only some of the characters print and the cursor will jump to different parts of the commit message.
What am I doing wrong?
Go to the particular line and use shift+i , text will become editable
Follow these steps in editor
1) SHIFT + R = Replace / Edit Text
2) After replace text use ESC
3) Then Save ' :WQ '
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With