Configuring git to send email to mailing list

This is process I did to get git sending email to mailing list:

First you need to install git-email in your distro (I am using Ubuntu):

$ sudo apt-get install git-email

Now configure your personal information:

$ git config --global user.name "Your (un)Real Name"
$ git config --global user.email user@gmail.com

Now we will configure git to use Gmail:

$ git config --global sendemail.smtpserver smtp.gmail.com
$ git config --global sendemail.smtpserverport 587
$ git config --global sendemail.smtpencryption tls
$ git config --global sendemail.smtpuser your_email@gmail.com
$ git config --global sendemail.smtppass your_password

Configure the mailing list you want send to (i.e.: Linux ARM):

$ git config sendemail.to linux-arm-kernel@lists.infradead.org

Source: http://morefedora.blogspot.com/2009/02/configuring-git-send-email-to-use-gmail.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s