How to automate git merge to not prompt to confirm the commit message?
To prevent git from promting you for an commit message on mac add this to your .bashrc or .bash_profile (read more about the difference between the two files)
export GIT_MERGE_AUTOEDIT=no
Then in your terminal type:
source ~/.bashrc
to reload your bash-file and continue without any interference.
You can add the --no-edit
switch to git-merge
and it will not ask you to confirm the merge message.