How to automate git merge to not prompt to confirm the commit message? May 31, 2023 by Tarik You can add the --no-edit switch to git-merge and it will not ask you to confirm the merge message.