I set my editor per an SO entry: How do I setup DiffMerge with msysgit / gitk?.
I'm wondering how to undo this because I want to switch back to the default editing program.
On Windows, if you use Git Bash the default editor will be Vim. Vim is another text editor, like nano or notepad.
The command to do this is git config --global core. editor "nano" . You can change the highlighted section with your editor of choice!
Depending on how you ran git config...
git config --unset core.editor
Or
git config --global --unset core.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