Git open default git editor instead of VIM or any other editor (Git Rebase)

git, git-interactive-rebase, vim

Solution

I think what you want is to use nano (which is the default text editor on Ubuntu), you can set that up by:

git config --global core.editor "nano"

or

git config --global core.editor "vim"

Problem

I recently installed Vim. Now, when I rebase my branch in interactive mode, Git automatically opens Vim. However, I do not want to open Vim in interactive mode; instead, I want to open default Git interactive mode editor. How can I set the default interactive editor used by Git?

Original source

Related problems