How do I run git rebase –interactive in non-interactive manner?

After some thinking and research, the answer turned out to be trivial: git rebase -i takes the editor name from the well-known EDITOR/VISUAL environment variables, so overriding that to point to a non-interactive script does the job. However, EDITOR/VISUAL applies indifferently to the list of commits, commit messages when rewording and anything else. So, since … Read more