blob: 4c8d907bd595a4f31b3f53cfff25b84cea059ff7 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-send-email(1)
2=================
3
4NAME
5----
6git-send-email - Send a collection of patches as emails
7
8
9SYNOPSIS
10--------
11'git-send-email' [options] <file|directory> [... file|directory]
12
13
14
15DESCRIPTION
16-----------
17Takes the patches given on the command line and emails them out.
18
19The header of the email is configurable by command line options. If not
20specified on the command line, the user will be prompted with a ReadLine
21enabled interface to provide the necessary information.
22
23OPTIONS
24-------
25The options available are:
26
Junio C Hamano97f518c2006-06-22 19:49:3527--bcc::
28Specify a "Bcc:" value for each email.
29
30The --bcc option must be repeated for each user you want on the bcc list.
31
Junio C Hamanoc9154122006-02-15 02:22:0632--cc::
33Specify a starting "Cc:" value for each email.
34
Junio C Hamano97f518c2006-06-22 19:49:3535The --cc option must be repeated for each user you want on the cc list.
36
Junio C Hamano1a4e8412005-12-27 08:17:2337--chain-reply-to, --no-chain-reply-to::
38If this is set, each email will be sent as a reply to the previous
39email sent. If disabled with "--no-chain-reply-to", all emails after
40the first will be sent as replies to the first email sent. When using
41this, it is recommended that the first file given be an overview of the
42entire patch series.
43Default is --chain-reply-to
44
Junio C Hamano86f75882006-02-06 02:27:2345--compose::
46Use $EDITOR to edit an introductory message for the
47patch series.
48
49--from::
50Specify the sender of the emails. This will default to
51the value GIT_COMMITTER_IDENT, as returned by "git-var -l".
52The user will still be prompted to confirm this entry.
53
54--in-reply-to::
55Specify the contents of the first In-Reply-To header.
56Subsequent emails will refer to the previous email
57instead of this if --chain-reply-to is set (the default)
58Only necessary if --compose is also set. If --compose
59is not set, this will be prompted for.
60
Junio C Hamanoc9154122006-02-15 02:22:0661--no-signed-off-by-cc::
Junio C Hamano341071d2006-06-04 07:24:4862Do not add emails found in Signed-off-by: lines to the cc list.
Junio C Hamanoc9154122006-02-15 02:22:0663
Junio C Hamano86f75882006-02-06 02:27:2364--quiet::
65Make git-send-email less verbose. One line per email should be
66all that is output.
67
Junio C Hamano1a4e8412005-12-27 08:17:2368--smtp-server::
Junio C Hamanob19b4f02006-10-29 20:47:2269If set, specifies the outgoing SMTP server to use. A full
70pathname of a sendmail-like program can be specified instead;
71the program must support the `-i` option. Default value can
72be specified by the 'sendemail.smtpserver' configuration
73option; the built-in default is `/usr/sbin/sendmail` or
74`/usr/lib/sendmail` if such program is available, or
75`localhost` otherwise.
Junio C Hamano1a4e8412005-12-27 08:17:2376
Junio C Hamano86f75882006-02-06 02:27:2377--subject::
78 Specify the initial subject of the email thread.
79Only necessary if --compose is also set. If --compose
80is not set, this will be prompted for.
81
Junio C Hamanoc9154122006-02-15 02:22:0682--suppress-from::
83Do not add the From: address to the cc: list, if it shows up in a From:
84line.
85
Junio C Hamano86f75882006-02-06 02:27:2386--to::
87Specify the primary recipient of the emails generated.
88Generally, this will be the upstream maintainer of the
89project involved.
90
Junio C Hamano97f518c2006-06-22 19:49:3591The --to option must be repeated for each user you want on the to list.
92
Junio C Hamano1a4e8412005-12-27 08:17:2393
94Author
95------
96Written by Ryan Anderson <ryan@michonline.com>
97
98git-send-email is originally based upon
99send_lots_of_email.pl by Greg Kroah-Hartman.
100
101Documentation
102--------------
103Documentation by Ryan Anderson
104
105GIT
106---
107Part of the gitlink:git[7] suite
108