maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] pt_BR update


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] pt_BR update
Date: Wed, 9 May 2012 13:35:00 +0200

Le Wed, 9 May 2012 08:15:33 -0300,
Rodrigo Avila <address@hidden> a écrit :

> Sorry about that. I'll use Gmail next time. I agree with you: the
> attachment system of Apple Mail is very weird. But I'm a git noob, and I
> still dont configure the git send-email correctly...

Well, if you have a standard SMTP server, then configuring git
send-email is really easy. You need a local SMTP client, I use msmtp,
for which I have the following ~/.msmtprc

==================================================================
defaults
tls on
tls_certcheck off
logfile /home/thomas/.msmtp.log

account enix
host smtp.enix.org
from address@hidden
auth on
# auth cram-md5
user xxxxxx
password yyyyyy

account default : enix
==================================================================

Then in my ~/.gitconfig, I have:

==================================================================
[sendemail]
        confirm = auto
        smtpserver = /usr/bin/msmtp
        suppresscc = self
        chainreplyto = false
==================================================================

And finally, in the ${MAPOSMATIC}/.git/config, I have (but this is
optional, you can pass --to address@hidden on the command line
every time if you prefer):

==================================================================
[sendemail]
        to = address@hidden
==================================================================

Once you have that in place, you can just do:

        git send-email HEAD^

To send the latest commit as a patch.

Best regards,

Thomas
-- 
Thomas Petazzoni                http://thomas.enix.org
MapOSMatic                      http://www.maposmatic.org
Logiciels Libres à Toulouse     http://www.toulibre.org
Embedded Linux                  http://www.free-electrons.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]