blob: 6fe4fe3420146f9e93296e62131511a6c905e291 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Junio C Hamano86f75882006-02-06 02:27:236<meta name="generator" content="AsciiDoc 7.0.2" />
Junio C Hamano1a4e8412005-12-27 08:17:237<style type="text/css">
8/* Debug borders */
9p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
10/*
11 border: 1px solid red;
12*/
13}
14
15body {
16 margin: 1em 5% 1em 5%;
17}
18
19a { color: blue; }
20a:visited { color: fuchsia; }
21
22em {
23 font-style: italic;
24}
25
26strong {
27 font-weight: bold;
28}
29
30tt {
31 color: navy;
32}
33
34h1, h2, h3, h4, h5, h6 {
35 color: #527bbd;
36 font-family: sans-serif;
37 margin-top: 1.2em;
38 margin-bottom: 0.5em;
39 line-height: 1.3;
40}
41
42h1 {
43 border-bottom: 2px solid silver;
44}
45h2 {
46 border-bottom: 2px solid silver;
47 padding-top: 0.5em;
48}
49
50div.sectionbody {
51 font-family: serif;
52 margin-left: 0;
53}
54
55hr {
56 border: 1px solid silver;
57}
58
59p {
60 margin-top: 0.5em;
61 margin-bottom: 0.5em;
62}
63
64pre {
65 padding: 0;
66 margin: 0;
67}
68
69span#author {
70 color: #527bbd;
71 font-family: sans-serif;
72 font-weight: bold;
73 font-size: 1.2em;
74}
75span#email {
76}
77span#revision {
78 font-family: sans-serif;
79}
80
81div#footer {
82 font-family: sans-serif;
83 font-size: small;
84 border-top: 2px solid silver;
85 padding-top: 0.5em;
86 margin-top: 4.0em;
87}
88div#footer-text {
89 float: left;
90 padding-bottom: 0.5em;
91}
92div#footer-badges {
93 float: right;
94 padding-bottom: 0.5em;
95}
96
97div#preamble,
98div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
99div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
100div.admonitionblock {
101 margin-right: 10%;
102 margin-top: 1.5em;
103 margin-bottom: 1.5em;
104}
105div.admonitionblock {
106 margin-top: 2.5em;
107 margin-bottom: 2.5em;
108}
109
110div.content { /* Block element content. */
111 padding: 0;
112}
113
114/* Block element titles. */
115div.title, caption.title {
116 font-family: sans-serif;
117 font-weight: bold;
118 text-align: left;
119 margin-top: 1.0em;
120 margin-bottom: 0.5em;
121}
122div.title + * {
123 margin-top: 0;
124}
125
126td div.title:first-child {
127 margin-top: 0.0em;
128}
129div.content div.title:first-child {
130 margin-top: 0.0em;
131}
132div.content + div.title {
133 margin-top: 0.0em;
134}
135
136div.sidebarblock > div.content {
137 background: #ffffee;
138 border: 1px solid silver;
139 padding: 0.5em;
140}
141
142div.listingblock > div.content {
143 border: 1px solid silver;
144 background: #f4f4f4;
145 padding: 0.5em;
146}
147
148div.quoteblock > div.content {
149 padding-left: 2.0em;
150}
151div.quoteblock .attribution {
152 text-align: right;
153}
154
155div.admonitionblock .icon {
156 vertical-align: top;
157 font-size: 1.1em;
158 font-weight: bold;
159 text-decoration: underline;
160 color: #527bbd;
161 padding-right: 0.5em;
162}
163div.admonitionblock td.content {
164 padding-left: 0.5em;
165 border-left: 2px solid silver;
166}
167
168div.exampleblock > div.content {
169 border-left: 2px solid silver;
170 padding: 0.5em;
171}
172
173div.verseblock div.content {
174 white-space: pre;
175}
176
177div.imageblock div.content { padding-left: 0; }
178div.imageblock img { border: 1px solid silver; }
179span.image img { border-style: none; }
180
181dl {
182 margin-top: 0.8em;
183 margin-bottom: 0.8em;
184}
185dt {
186 margin-top: 0.5em;
187 margin-bottom: 0;
188 font-style: italic;
189}
190dd > *:first-child {
191 margin-top: 0;
192}
193
194ul, ol {
195 list-style-position: outside;
196}
197ol.olist2 {
198 list-style-type: lower-alpha;
199}
200
201div.tableblock > table {
202 border-color: #527bbd;
203 border-width: 3px;
204}
205thead {
206 font-family: sans-serif;
207 font-weight: bold;
208}
209tfoot {
210 font-weight: bold;
211}
212
213div.hlist {
214 margin-top: 0.8em;
215 margin-bottom: 0.8em;
216}
217td.hlist1 {
218 vertical-align: top;
219 font-style: italic;
220 padding-right: 0.8em;
221}
222td.hlist2 {
223 vertical-align: top;
224}
225
226@media print {
227 div#footer-badges { display: none; }
228}
229include::./stylesheets/xhtml11-manpage.css[]
230/* Workarounds for IE6's broken and incomplete CSS2. */
231
232div.sidebar-content {
233 background: #ffffee;
234 border: 1px solid silver;
235 padding: 0.5em;
236}
237div.sidebar-title, div.image-title {
238 font-family: sans-serif;
239 font-weight: bold;
240 margin-top: 0.0em;
241 margin-bottom: 0.5em;
242}
243
244div.listingblock div.content {
245 border: 1px solid silver;
246 background: #f4f4f4;
247 padding: 0.5em;
248}
249
250div.quoteblock-content {
251 padding-left: 2.0em;
252}
253
254div.exampleblock-content {
255 border-left: 2px solid silver;
256 padding-left: 0.5em;
257}
258</style>
259<title>git-send-email(1)</title>
260</head>
261<body>
262<div id="header">
263<h1>
264git-send-email(1) Manual Page
265</h1>
266<h2>NAME</h2>
267<div class="sectionbody">
268<p>git-send-email -
269 Send a collection of patches as emails
270</p>
271</div>
272</div>
273<h2>SYNOPSIS</h2>
274<div class="sectionbody">
275<p><em>git-send-email</em> [options] &lt;file|directory&gt; [&#8230; file|directory]</p>
276</div>
277<h2>DESCRIPTION</h2>
278<div class="sectionbody">
279<p>Takes the patches given on the command line and emails them out.</p>
280<p>The header of the email is configurable by command line options. If not
281specified on the command line, the user will be prompted with a ReadLine
282enabled interface to provide the necessary information.</p>
283</div>
284<h2>OPTIONS</h2>
285<div class="sectionbody">
286<p>The options available are:</p>
287<dl>
288<dt>
Junio C Hamano97f518c2006-06-22 19:49:35289--bcc
290</dt>
291<dd>
292<p>
293 Specify a "Bcc:" value for each email.
294</p>
Junio C Hamanoa3fd83c2007-03-02 10:34:36295<p>The --bcc option must be repeated for each user you want on the bcc list.</p>
Junio C Hamano97f518c2006-06-22 19:49:35296</dd>
297<dt>
Junio C Hamanoc9154122006-02-15 02:22:06298--cc
299</dt>
300<dd>
301<p>
302 Specify a starting "Cc:" value for each email.
303</p>
Junio C Hamanoa3fd83c2007-03-02 10:34:36304<p>The --cc option must be repeated for each user you want on the cc list.</p>
Junio C Hamanoc9154122006-02-15 02:22:06305</dd>
306<dt>
Junio C Hamanoc5653d72007-09-02 06:25:16307--cc-cmd
308</dt>
309<dd>
310<p>
311 Specify a command to execute once per patch file which
312 should generate patch file specific "Cc:" entries.
313 Output of this command must be single email address per line.
314 Default is the value of <em>sendemail.cccmd</em> configuration value.
315</p>
316</dd>
317<dt>
Junio C Hamano86f75882006-02-06 02:27:23318--chain-reply-to, --no-chain-reply-to
Junio C Hamano1a4e8412005-12-27 08:17:23319</dt>
320<dd>
321<p>
Junio C Hamano86f75882006-02-06 02:27:23322 If this is set, each email will be sent as a reply to the previous
323 email sent. If disabled with "--no-chain-reply-to", all emails after
324 the first will be sent as replies to the first email sent. When using
325 this, it is recommended that the first file given be an overview of the
326 entire patch series.
Junio C Hamanoc51fede2007-03-12 07:29:20327 Default is the value of the <em>sendemail.chainreplyto</em> configuration
328 value; if that is unspecified, default to --chain-reply-to.
Junio C Hamano86f75882006-02-06 02:27:23329</p>
330</dd>
331<dt>
332--compose
333</dt>
334<dd>
335<p>
Junio C Hamanof6002a92007-07-20 10:28:22336 Use $GIT_EDITOR, core.editor, $VISUAL, or $EDITOR to edit an
337 introductory message for the patch series.
Junio C Hamano1a4e8412005-12-27 08:17:23338</p>
339</dd>
340<dt>
341--from
342</dt>
343<dd>
344<p>
345 Specify the sender of the emails. This will default to
346 the value GIT_COMMITTER_IDENT, as returned by "git-var -l".
347 The user will still be prompted to confirm this entry.
348</p>
349</dd>
350<dt>
Junio C Hamano1a4e8412005-12-27 08:17:23351--in-reply-to
352</dt>
353<dd>
354<p>
355 Specify the contents of the first In-Reply-To header.
356 Subsequent emails will refer to the previous email
357 instead of this if --chain-reply-to is set (the default)
358 Only necessary if --compose is also set. If --compose
359 is not set, this will be prompted for.
360</p>
361</dd>
362<dt>
Junio C Hamano6865ebd2007-06-28 08:16:14363--signed-off-by-cc, --no-signed-off-by-cc
Junio C Hamanoc9154122006-02-15 02:22:06364</dt>
365<dd>
366<p>
Junio C Hamano6865ebd2007-06-28 08:16:14367 If this is set, add emails found in Signed-off-by: or Cc: lines to the
Junio C Hamanob8c51282007-03-19 10:43:30368 cc list.
Junio C Hamano1b11dcb2007-08-18 07:20:55369 Default is the value of <em>sendemail.signedoffcc</em> configuration value;
Junio C Hamano6865ebd2007-06-28 08:16:14370 if that is unspecified, default to --signed-off-by-cc.
Junio C Hamanoc9154122006-02-15 02:22:06371</p>
372</dd>
373<dt>
Junio C Hamano86f75882006-02-06 02:27:23374--quiet
Junio C Hamano1a4e8412005-12-27 08:17:23375</dt>
376<dd>
377<p>
Junio C Hamano86f75882006-02-06 02:27:23378 Make git-send-email less verbose. One line per email should be
379 all that is output.
Junio C Hamano1a4e8412005-12-27 08:17:23380</p>
381</dd>
382<dt>
Junio C Hamano68522892007-09-06 01:33:41383--identity
384</dt>
385<dd>
386<p>
387 A configuration identity. When given, causes values in the
388 <em>sendemail.&lt;identity&gt;</em> subsection to take precedence over
389 values in the <em>sendemail</em> section. The default identity is
390 the value of <em>sendemail.identity</em>.
391</p>
392</dd>
393<dt>
Junio C Hamano1a4e8412005-12-27 08:17:23394--smtp-server
395</dt>
396<dd>
397<p>
Junio C Hamanob63afff2007-05-01 03:05:55398 If set, specifies the outgoing SMTP server to use (e.g.
399 <tt>smtp.example.com</tt> or a raw IP address). Alternatively it can
400 specify a full pathname of a sendmail-like program instead;
Junio C Hamanob19b4f02006-10-29 20:47:22401 the program must support the <tt>-i</tt> option. Default value can
402 be specified by the <em>sendemail.smtpserver</em> configuration
403 option; the built-in default is <tt>/usr/sbin/sendmail</tt> or
404 <tt>/usr/lib/sendmail</tt> if such program is available, or
405 <tt>localhost</tt> otherwise.
Junio C Hamano1a4e8412005-12-27 08:17:23406</p>
407</dd>
Junio C Hamano86f75882006-02-06 02:27:23408<dt>
Junio C Hamano68522892007-09-06 01:33:41409--smtp-user, --smtp-pass
410</dt>
411<dd>
412<p>
413 Username and password for SMTP-AUTH. Defaults are the values of
414 the configuration values <em>sendemail.smtpuser</em> and
415 <em>sendemail.smtppass</em>, but see also <em>sendemail.identity</em>.
416 If not set, authentication is not attempted.
417</p>
418</dd>
419<dt>
420--smtp-ssl
421</dt>
422<dd>
423<p>
424 If set, connects to the SMTP server using SSL.
425 Default is the value of the <em>sendemail.smtpssl</em> configuration value;
426 if that is unspecified, does not use SSL.
427</p>
428</dd>
429<dt>
Junio C Hamano86f75882006-02-06 02:27:23430--subject
431</dt>
432<dd>
433<p>
434 Specify the initial subject of the email thread.
435 Only necessary if --compose is also set. If --compose
436 is not set, this will be prompted for.
437</p>
438</dd>
439<dt>
Junio C Hamano6865ebd2007-06-28 08:16:14440--suppress-from, --no-suppress-from
Junio C Hamanoc9154122006-02-15 02:22:06441</dt>
442<dd>
443<p>
Junio C Hamano6865ebd2007-06-28 08:16:14444 If this is set, do not add the From: address to the cc: list, if it
445 shows up in a From: line.
446 Default is the value of <em>sendemail.suppressfrom</em> configuration value;
Junio C Hamanocae86272007-08-21 02:20:49447 if that is unspecified, default to --no-suppress-from.
Junio C Hamanoc9154122006-02-15 02:22:06448</p>
449</dd>
450<dt>
Junio C Hamano6865ebd2007-06-28 08:16:14451--thread, --no-thread
Junio C Hamanoddc5ad42007-06-27 07:14:52452</dt>
453<dd>
454<p>
455 If this is set, the In-Reply-To header will be set on each email sent.
Junio C Hamano6865ebd2007-06-28 08:16:14456 If disabled with "--no-thread", no emails will have the In-Reply-To
Junio C Hamanoddc5ad42007-06-27 07:14:52457 header set.
Junio C Hamano6865ebd2007-06-28 08:16:14458 Default is the value of the <em>sendemail.thread</em> configuration value;
459 if that is unspecified, default to --thread.
Junio C Hamanoddc5ad42007-06-27 07:14:52460</p>
461</dd>
462<dt>
Junio C Hamano45889b42007-04-26 07:20:04463--dry-run
464</dt>
465<dd>
466<p>
467 Do everything except actually send the emails.
468</p>
469</dd>
470<dt>
471--envelope-sender
472</dt>
473<dd>
474<p>
475 Specify the envelope sender used to send the emails.
476 This is useful if your default address is not the address that is
477 subscribed to a list. If you use the sendmail binary, you must have
478 suitable privileges for the -f parameter.
479</p>
480</dd>
481<dt>
Junio C Hamano86f75882006-02-06 02:27:23482--to
483</dt>
484<dd>
485<p>
486 Specify the primary recipient of the emails generated.
487 Generally, this will be the upstream maintainer of the
488 project involved.
489</p>
Junio C Hamanoa3fd83c2007-03-02 10:34:36490<p>The --to option must be repeated for each user you want on the to list.</p>
Junio C Hamano86f75882006-02-06 02:27:23491</dd>
Junio C Hamano1a4e8412005-12-27 08:17:23492</dl>
493</div>
Junio C Hamanoc51fede2007-03-12 07:29:20494<h2>CONFIGURATION</h2>
495<div class="sectionbody">
496<dl>
497<dt>
Junio C Hamano68522892007-09-06 01:33:41498sendemail.identity
499</dt>
500<dd>
501<p>
502 The default configuration identity. When specified,
503 <em>sendemail.&lt;identity&gt;.&lt;item&gt;</em> will have higher precedence than
504 <em>sendemail.&lt;item&gt;</em>. This is useful to declare multiple SMTP
505 identities and to hoist sensitive authentication information
506 out of the repository and into the global configuation file.
507</p>
508</dd>
509<dt>
Junio C Hamanoc51fede2007-03-12 07:29:20510sendemail.aliasesfile
511</dt>
512<dd>
513<p>
514 To avoid typing long email addresses, point this to one or more
515 email aliases files. You must also supply <em>sendemail.aliasfiletype</em>.
516</p>
517</dd>
518<dt>
519sendemail.aliasfiletype
520</dt>
521<dd>
522<p>
523 Format of the file(s) specified in sendemail.aliasesfile. Must be
524 one of <em>mutt</em>, <em>mailrc</em>, <em>pine</em>, or <em>gnus</em>.
525</p>
526</dd>
527<dt>
Junio C Hamanoc5653d72007-09-02 06:25:16528sendemail.cccmd
529</dt>
530<dd>
531<p>
532 Command to execute to generate per patch file specific "Cc:"s.
533</p>
534</dd>
535<dt>
Junio C Hamanoc51fede2007-03-12 07:29:20536sendemail.bcc
537</dt>
538<dd>
539<p>
540 Email address (or alias) to always bcc.
541</p>
542</dd>
543<dt>
544sendemail.chainreplyto
545</dt>
546<dd>
547<p>
548 Boolean value specifying the default to the <em>--chain_reply_to</em>
549 parameter.
550</p>
551</dd>
552<dt>
553sendemail.smtpserver
554</dt>
555<dd>
556<p>
Junio C Hamano68522892007-09-06 01:33:41557 Default SMTP server to use.
558</p>
559</dd>
560<dt>
561sendemail.smtpuser
562</dt>
563<dd>
564<p>
565 Default SMTP-AUTH username.
566</p>
567</dd>
568<dt>
569sendemail.smtppass
570</dt>
571<dd>
572<p>
573 Default SMTP-AUTH password.
574</p>
575</dd>
576<dt>
577sendemail.smtpssl
578</dt>
579<dd>
580<p>
581 Boolean value specifying the default to the <em>--smtp-ssl</em> parameter.
Junio C Hamanoc51fede2007-03-12 07:29:20582</p>
583</dd>
584</dl>
585</div>
Junio C Hamano1a4e8412005-12-27 08:17:23586<h2>Author</h2>
587<div class="sectionbody">
588<p>Written by Ryan Anderson &lt;ryan@michonline.com&gt;</p>
589<p>git-send-email is originally based upon
590send_lots_of_email.pl by Greg Kroah-Hartman.</p>
591</div>
592<h2>Documentation</h2>
593<div class="sectionbody">
594<p>Documentation by Ryan Anderson</p>
595</div>
596<h2>GIT</h2>
597<div class="sectionbody">
598<p>Part of the <a href="git.html">git(7)</a> suite</p>
599</div>
600<div id="footer">
601<div id="footer-text">
Junio C Hamano68522892007-09-06 01:33:41602Last updated 06-Sep-2007 01:33:18 UTC
Junio C Hamano1a4e8412005-12-27 08:17:23603</div>
604</div>
605</body>
606</html>