Code

git-send-email: Add --threaded option
[git.git] / Documentation / git-send-email.txt
1 git-send-email(1)
2 =================
4 NAME
5 ----
6 git-send-email - Send a collection of patches as emails
9 SYNOPSIS
10 --------
11 'git-send-email' [options] <file|directory> [... file|directory]
15 DESCRIPTION
16 -----------
17 Takes the patches given on the command line and emails them out.
19 The header of the email is configurable by command line options.  If not
20 specified on the command line, the user will be prompted with a ReadLine
21 enabled interface to provide the necessary information.
23 OPTIONS
24 -------
25 The options available are:
27 --bcc::
28         Specify a "Bcc:" value for each email.
29 +
30 The --bcc option must be repeated for each user you want on the bcc list.
32 --cc::
33         Specify a starting "Cc:" value for each email.
34 +
35 The --cc option must be repeated for each user you want on the cc list.
37 --chain-reply-to, --no-chain-reply-to::
38         If this is set, each email will be sent as a reply to the previous
39         email sent.  If disabled with "--no-chain-reply-to", all emails after
40         the first will be sent as replies to the first email sent.  When using
41         this, it is recommended that the first file given be an overview of the
42         entire patch series.
43         Default is the value of the 'sendemail.chainreplyto' configuration
44         value; if that is unspecified, default to --chain-reply-to.
46 --compose::
47         Use $EDITOR to edit an introductory message for the
48         patch series.
50 --from::
51         Specify the sender of the emails.  This will default to
52         the value GIT_COMMITTER_IDENT, as returned by "git-var -l".
53         The user will still be prompted to confirm this entry.
55 --in-reply-to::
56         Specify the contents of the first In-Reply-To header.
57         Subsequent emails will refer to the previous email
58         instead of this if --chain-reply-to is set (the default)
59         Only necessary if --compose is also set.  If --compose
60         is not set, this will be prompted for.
62 --no-signed-off-by-cc::
63         Do not add emails found in Signed-off-by: or Cc: lines to the
64         cc list.
66 --quiet::
67         Make git-send-email less verbose.  One line per email should be
68         all that is output.
70 --smtp-server::
71         If set, specifies the outgoing SMTP server to use (e.g.
72         `smtp.example.com` or a raw IP address).  Alternatively it can
73         specify a full pathname of a sendmail-like program instead;
74         the program must support the `-i` option.  Default value can
75         be specified by the 'sendemail.smtpserver' configuration
76         option; the built-in default is `/usr/sbin/sendmail` or
77         `/usr/lib/sendmail` if such program is available, or
78         `localhost` otherwise.
80 --subject::
81         Specify the initial subject of the email thread.
82         Only necessary if --compose is also set.  If --compose
83         is not set, this will be prompted for.
85 --suppress-from::
86         Do not add the From: address to the cc: list, if it shows up in a From:
87         line.
89 --threaded, --no-threaded::
90         If this is set, the In-Reply-To header will be set on each email sent.
91         If disabled with "--no-threaded", no emails will have the In-Reply-To
92         header set.
93         Default is the value of the 'sendemail.threaded' configuration value;
94         if that is unspecified, default to --threaded.
96 --dry-run::
97         Do everything except actually send the emails.
99 --envelope-sender::
100         Specify the envelope sender used to send the emails.
101         This is useful if your default address is not the address that is
102         subscribed to a list. If you use the sendmail binary, you must have
103         suitable privileges for the -f parameter.
105 --to::
106         Specify the primary recipient of the emails generated.
107         Generally, this will be the upstream maintainer of the
108         project involved.
110 The --to option must be repeated for each user you want on the to list.
113 CONFIGURATION
114 -------------
115 sendemail.aliasesfile::
116         To avoid typing long email addresses, point this to one or more
117         email aliases files.  You must also supply 'sendemail.aliasfiletype'.
119 sendemail.aliasfiletype::
120         Format of the file(s) specified in sendemail.aliasesfile. Must be
121         one of 'mutt', 'mailrc', 'pine', or 'gnus'.
123 sendemail.bcc::
124         Email address (or alias) to always bcc.
126 sendemail.chainreplyto::
127         Boolean value specifying the default to the '--chain_reply_to'
128         parameter.
130 sendemail.smtpserver::
131         Default smtp server to use.
133 Author
134 ------
135 Written by Ryan Anderson <ryan@michonline.com>
137 git-send-email is originally based upon
138 send_lots_of_email.pl by Greg Kroah-Hartman.
140 Documentation
141 --------------
142 Documentation by Ryan Anderson
144 GIT
145 ---
146 Part of the gitlink:git[7] suite