Search code examples
text-editormsysgit

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.


Solution

  • Depending on how you ran git config...

    git config --unset core.editor
    

    Or

    git config --global --unset core.editor