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

12,394

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"
Share:
12,394
Jaykumar Patel
Author by

Jaykumar Patel

Love Programming Authored content for​ way2tutorial.com, an online learning platform for developers covering several popular front-end technologies like HTML, CSS, JavaScript, jQuery and more. Active member and contributor of ​Stackoverflow​ community which is the largest Q&A platform for professional and enthusiast programmers alike. My goal is simple, do everything.

Updated on July 22, 2022

Comments

  • Jaykumar Patel
    Jaykumar Patel almost 2 years

    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?