Sometimes git opens vi
and shows me a message like this:
Merge branch 'master' into feature/heal-the-world
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
I always close the vi
unchanged.
Is there a way to avoid this "vi PopUp"?
I would like to stay with my current workflow, I just want git to automatically do this. I don't want to switch to rebase.
Update
since some calls to git
get done in scripts, I need a way to change the default behaviour of git. An alias which does what I need does not help here.