...
Code Block | ||
---|---|---|
| ||
git config --global core.editor "nano" |
Vim
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:
...