Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can now open the Git Bash application.

Change the default Git editor

Nano

Code Block
languagebash
git config --global core.editor "nano"


Vim

Code Block
languagebash
git config --global core.editor "vim"


Notepad

Code Block
languagebash
git config --global core.editor "notepad"


Notepad++

Code Block
languagebash
git config --global core.editor "'C:\Program Files\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"


Sublime Text

Code Block
languagebash
git config --global core.editor "'C:\Program Files\Sublime Text\sublime_text.exe' -multiInst -notabbar -nosession -noPlugin"


To verify that the default editor has been changed:

Code Block
languagebash
git config --global core.editor