On , I learnt ...
How to continue a Git rebase and skip editing the commit message
During an interactive rebase, when you’ve fixed the conflicts or finished editing the commit you can run:
git rebase --continue
to continue rebasing. Before proceeding, this will open the commit message in your configured editor so you can make any adjustments based on the changes you’ve made.
However, 90% of the time I don’t want to edit the commit message as I’m just fixing a minor issue and the existing commit message is still accurate. The editor step is superfluous and a waste of time.
To skip the editor step entirely you can use:
GIT_EDITOR=true git rebase --continue
which replaces the editor program with
true which simply exits with a zero
“How to suppress the editor for
git rebase --continue?”
on Stack Overflow.