If the error fails, you must manually fix the file, and then exec git add filenameto signal that everything is in order. At this point, git rebase --continuecontinue the procedure without bothering you.
To change the default git editor, use the problem: git config --global core.editor new_editor
, , , , , GIT_EDITOR . . git -var (1).