@@ -41,6 +41,7 @@ Checklist (and a short version for the impatient):
41
41
maintainer (
[email protected] ) if (and only if) the patch
42
42
is ready for inclusion. If you use git-send-email(1),
43
43
please test it first by sending email to yourself.
44
+ - see below for instructions specific to your mailer
44
45
45
46
Long version:
46
47
@@ -546,9 +547,27 @@ Gmail
546
547
547
548
GMail does not appear to have any way to turn off line wrapping in the web
548
549
interface, 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
550
552
the emails through that.
551
553
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
+
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
+
552
571
To submit using the IMAP interface, first, edit your ~/.gitconfig to specify your
553
572
account settings:
554
573
@@ -564,28 +583,11 @@ You might need to instead use: folder = "[Google Mail]/Drafts" if you get an err
564
583
that the "Folder doesn't exist".
565
584
566
585
Once 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:
569
587
570
588
$ git format-patch --cover-letter -M --stdout origin/master | git imap-send
571
589
572
590
Just make sure to disable line wrapping in the email client (GMail web
573
591
interface will line wrap no matter what, so you need to use a real
574
592
IMAP client).
575
593
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
-
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