I've changed Git's default editor by applying the following to Git's global config:
core.editor='C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
Now, how do I simply invoke the "default editor" without initiating a commit ? I'm trying to test the settings/change I made.
Thanks!
Using Git version 1.8.1
The command to do this is git config --global core. editor "nano" . You can change the highlighted section with your editor of choice!
On Windows, if you use Git Bash the default editor will be Vim. Vim is another text editor, like nano or notepad.
Run
git config -e
To edit the configuration in the default editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With