Rewrite git commit messages¶
- Using
vi/vim
you change the wordspick
toreword
for the commits you want to change, save andquit(:wq)
. - Then git will prompt you with each commit that you marked as reword, so you can change the commit message.
- Each commit message you have to save and
quit(:wq)
to go to the next commit message