buzzedword buzzedword - 1 year ago 118
Git Question

How do you squelch git's automatic merge message?

I'm trying to do some automation scripts using git, simple things like updating submodules, moving to proper tags etc, but one of the problems I'm now finding is that git now forces you to confirm a merge message. Is there any way to squelch this behavior from happening?

ola ola
Answer Source

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)


Then in your terminal type:

source ~/.bashrc

to reload your bash-file and continue without any interference.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download