Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unset core.editor in Msysgit

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.

like image 841
user5243421 Avatar asked Apr 26 '10 02:04

user5243421


People also ask

What should I use as default editor in git?

On Windows, if you use Git Bash the default editor will be Vim. Vim is another text editor, like nano or notepad.

How do I change the default editor in Git bash?

The command to do this is git config --global core. editor "nano" . You can change the highlighted section with your editor of choice!


1 Answers

Depending on how you ran git config...

git config --unset core.editor

Or

git config --global --unset core.editor
like image 147
Lee Avatar answered Sep 23 '22 02:09

Lee