summaryrefslogtreecommitdiffstats
path: root/git-imap-send.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-05-05 01:30:38 +0000
committerJunio C Hamano <junio@kernel.org>2011-05-05 01:30:38 +0000
commitb77f819e3fe08db387897135c3813e2cfebac86b (patch)
tree4b42e3084a3377be27f037a63c570d708f21f4b7 /git-imap-send.txt
parent600334628294fbcd6406b55a9a17d270371cb7e5 (diff)
downloadgit-htmldocs-b77f819e3fe08db387897135c3813e2cfebac86b.tar.gz
Autogenerated HTML docs for v1.7.5.1-169-g505a1
Diffstat (limited to 'git-imap-send.txt')
-rw-r--r--git-imap-send.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/git-imap-send.txt b/git-imap-send.txt
index d3013d6a2..4e09708cc 100644
--- a/git-imap-send.txt
+++ b/git-imap-send.txt
@@ -111,6 +111,31 @@ Using direct mode with SSL:
..........................
+EXAMPLE
+-------
+To submit patches using GMail's IMAP interface, first, edit your ~/.gitconfig
+to specify your account settings:
+
+---------
+[imap]
+ folder = "[Gmail]/Drafts"
+ host = imaps://imap.gmail.com
+ user = user@gmail.com
+ port = 993
+ sslverify = false
+---------
+
+You might need to instead use: folder = "[Google Mail]/Drafts" if you get an error
+that the "Folder doesn't exist".
+
+Once the commits are ready to be sent, run the following command:
+
+ $ git format-patch --cover-letter -M --stdout origin/master | git imap-send
+
+Just make sure to disable line wrapping in the email client (GMail's web
+interface will wrap lines no matter what, so you need to use a real
+IMAP client).
+
CAUTION
-------
It is still your responsibility to make sure that the email message
@@ -124,6 +149,10 @@ Thunderbird in particular is known to be problematic. Thunderbird
users may wish to visit this web page for more information:
http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
+SEE ALSO
+--------
+linkgit:git-format-patch[1], linkgit:git-send-email[1], mbox(5)
+
GIT
---
Part of the linkgit:git[1] suite