summaryrefslogtreecommitdiffstats
path: root/git-send-email.html
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-send-email.html
parent600334628294fbcd6406b55a9a17d270371cb7e5 (diff)
downloadgit-htmldocs-b77f819e3fe08db387897135c3813e2cfebac86b.tar.gz
Autogenerated HTML docs for v1.7.5.1-169-g505a1
Diffstat (limited to 'git-send-email.html')
-rw-r--r--git-send-email.html20
1 files changed, 17 insertions, 3 deletions
diff --git a/git-send-email.html b/git-send-email.html
index 4a0a904ec..ec5ef2434 100644
--- a/git-send-email.html
+++ b/git-send-email.html
@@ -973,9 +973,11 @@ sendemail.confirm
</dd>
</dl></div>
</div>
-<h2 id="_use_gmail_as_the_smtp_server">Use gmail as the smtp server</h2>
+<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Add the following section to the config file:</p></div>
+<h3 id="_use_gmail_as_the_smtp_server">Use gmail as the smtp server</h3><div style="clear:left"></div>
+<div class="paragraph"><p>To use <em>git send-email</em> to send your patches through the GMail SMTP server,
+edit ~/.gitconfig to specify your account settings:</p></div>
<div class="literalblock">
<div class="content">
<pre><tt>[sendemail]
@@ -984,16 +986,28 @@ sendemail.confirm
smtpuser = yourname@gmail.com
smtpserverport = 587</tt></pre>
</div></div>
+<div class="paragraph"><p>Once your commits are ready to be sent to the mailing list, run the
+following commands:</p></div>
+<div class="literalblock">
+<div class="content">
+<pre><tt>$ git format-patch --cover-letter -M origin/master -o outgoing/
+$ edit outgoing/0000-*
+$ git send-email outgoing/*</tt></pre>
+</div></div>
<div class="paragraph"><p>Note: the following perl modules are required
Net::SMTP::SSL, MIME::Base64 and Authen::SASL</p></div>
</div>
+<h2 id="_see_also">SEE ALSO</h2>
+<div class="sectionbody">
+<div class="paragraph"><p><a href="git-format-patch.html">git-format-patch(1)</a>, <a href="git-imap-send.html">git-imap-send(1)</a>, mbox(5)</p></div>
+</div>
<h2 id="_git">GIT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-03-15 23:30:14 UTC
+Last updated 2011-05-05 01:29:54 UTC
</div>
</div>
</body>