@@ -41,6 +41,7 @@ Checklist (and a short version for the impatient):
4141 maintainer (gitster@pobox.com) if (and only if) the patch
4242 is ready for inclusion. If you use git-send-email(1),
4343 please test it first by sending email to yourself.
44+ - see below for instructions specific to your mailer
4445
4546Long version:
4647
@@ -546,9 +547,27 @@ Gmail
546547
547548GMail does not appear to have any way to turn off line wrapping in the web
548549interface, so this will mangle any emails that you send. You can however
549- use any IMAP email client to connect to the google imap server, and forward
550+ use "git send e-mail" and send your patches through the GMail SMTP server, or
551+ use any IMAP email client to connect to the google IMAP server and forward
550552the emails through that.
551553
554+ To use "git send-email" and send your patches through the GMail SMTP server,
555+ edit ~/.gitconfig to specify your account settings:
556+
557+ [sendemail]
558+ smtpencryption = tls
559+ smtpserver = smtp.gmail.com
560+ smtpuser = user@gmail.com
561+ smtppass = p4ssw0rd
562+ smtpserverport = 587
563+
564+ Once your commits are ready to be sent to the mailing list, run the
565+ following commands:
566+
567+ $ git format-patch --cover-letter -M origin/master -o outgoing/
568+ $ edit outgoing/0000-*
569+ $ git send-email outgoing/*
570+
552571To submit using the IMAP interface, first, edit your ~/.gitconfig to specify your
553572account settings:
554573
@@ -564,28 +583,11 @@ You might need to instead use: folder = "[Google Mail]/Drafts" if you get an err
564583that the "Folder doesn't exist".
565584
566585Once your commits are ready to be sent to the mailing list, run the
567- following command to send the patch emails to your Gmail Drafts
568- folder.
586+ following commands:
569587
570588 $ git format-patch --cover-letter -M --stdout origin/master | git imap-send
571589
572590Just make sure to disable line wrapping in the email client (GMail web
573591interface will line wrap no matter what, so you need to use a real
574592IMAP client).
575593
576- Alternatively, you can use "git send-email" and send your patches
577- through the GMail SMTP server. edit ~/.gitconfig to specify your
578- account settings:
579-
580- [sendemail]
581- smtpencryption = tls
582- smtpserver = smtp.gmail.com
583- smtpuser = user@gmail.com
584- smtppass = p4ssw0rd
585- smtpserverport = 587
586-
587- Once your commits are ready to be sent to the mailing list, run the
588- following commands:
589-
590- $ git format-patch --cover-letter -M origin/master -o outgoing/
591- $ git send-email outgoing/*
0 commit comments