Try adding the GIT_EDITOR environment variable before your command, like so:
GIT_EDITOR=<editor of choice> git rebase <...>
For example, to use nano I would type:
GIT_EDITOR=nano git rebase -i abcdef1234
Try adding the GIT_EDITOR environment variable before your command, like so:
GIT_EDITOR=<editor of choice> git rebase <...>
For example, to use nano I would type:
GIT_EDITOR=nano git rebase -i abcdef1234