...
Change the default Git editor
In the Git Bash terminal type one of the following lines of code to specify a new editor:
Nano
Code Block |
---|
|
git config --global core.editor "nano" |
...
Code Block |
---|
|
git config --global core.editor "vim" |
Notepad
Code Block |
---|
|
git config --global core.editor "notepad" |
Notepad++
Code Block |
---|
|
git config --global core.editor "'C:\Program Files\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin" |
Sublime Text
Code Block |
---|
|
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:
...