git send-email dengan gmail account

Konfigurasi git send-email dengan gmail account sebagai berikut:

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 username@gmail.com
git config --global sendemail.smtppass password

Testing:

git send-email --from username@gmail.com --to someproject@project.com --subject "foo" ~/0001-pcsc-lite-and-ccid-support.patch

Semua konfigurasi di atas tersimpan di ~/.gitconfig

[sendemail]
        smtpserver = smtp.gmail.com
        smtpserverport = 587
        smtpencryption = tls
        smtpuser = username@gmail.com
        smtppass = password

Sumber:

http://www.kernel.org/pub/software/scm/git/docs/git-send-email.html
http://mail.google.com/support/bin/answer.py?answer=13287

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