Re: [patch v2] Documentation/email-clients.txt: add a section about git

From: Dan Carpenter
Date: Fri May 09 2014 - 03:28:48 EST


On Thu, May 08, 2014 at 05:28:46PM +0800, Hillf Danton wrote:
> And a howto to tame gmail is doule apprecaited.

There is actually a gmail section in the man page. `man git send-email`
It's a the bottom.


EXAMPLE
Use gmail as the smtp server
To use git send-email to send your patches through the GMail SMTP
server, edit ~/.gitconfig to specify your account settings:

[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = yourname@xxxxxxxxx
smtpserverport = 587

Once your commits are ready to be sent to the mailing list, run the
following commands:

$ git format-patch --cover-letter -M origin/master -o outgoing/
$ edit outgoing/0000-*
$ git send-email outgoing/*

Note: the following perl modules are required Net::SMTP::SSL,
MIME::Base64 and Authen::SASL


regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/