GIT_MERGE_AUTOEDIT = none by default

In my git (v 1.7.10.2) I have to do the following in my terminal:

GIT_MERGE_AUTOEDIT=no export GIT_MERGE_AUTOEDIT 

So, every time I merge, I can not get to send a message.

Where should I put this, so by default it gets this setting, and I don’t need to enter it every time I open the terminal in my MAC address?

+4
source share
1 answer

You can put it in:

 .bash_profile 

Open terminal

 nano $HOME/.bash_profile 

and add the line

 export GIT_MERGE_AUTOEDIT=no 

Do not forget to open a new terminal for this.

+10
source

All Articles