kjb kjb - 2 months ago 24
Git Question

Git merge doesn't use default merge message, opens editor with default message

How can I force

git merge
to use the default merge message instead of loading my editor with said message?

I have no editor listed in
git config -l
, so I'm not sure why it opens an editor.

kjb kjb

Found the answer after some digging

EDIT: As per Mark's suggestion, this is the best way to do so:

git config --global core.mergeoptions --no-edit