Macos – Git on Mac: How to set Nano as the default text editor


When I'm using Git on Mac and need to do a rebase, the Vim editor kicks in by default. I would prefer Nano – could someone please explain how to reconfigure Git to make it use Nano for rebase?

Best Answer

git config --global core.editor "nano"

More information here:

Related Question