Merge branch 'fixes'
[git.git] / Documentation / git-send-email.txt
1 git-send-email(1)
2 =================
3 v0.1, July 2005
4
5 NAME
6 ----
7 git-send-email - Send a collection of patches as emails
8
9
10 SYNOPSIS
11 --------
12 'git-send-email' [options] <file|directory> [... file|directory]
13
14
15
16 DESCRIPTION
17 -----------
18 Takes the patches given on the command line and emails them out.
19
20 The header of the email is configurable by command line options.  If not
21 specified on the command line, the user will be prompted with a ReadLine
22 enabled interface to provide the necessary information.
23
24 OPTIONS
25 -------
26 The options available are:
27
28 --to::
29         Specify the primary recipient of the emails generated.
30         Generally, this will be the upstream maintainer of the
31         project involved.
32
33 --from::
34         Specify the sender of the emails.  This will default to
35         the value GIT_COMMITTER_IDENT, as returned by "git-var -l".
36         The user will still be prompted to confirm this entry.
37
38 --compose::
39         Use \$EDITOR to edit an introductory message for the
40         patch series.
41
42 --subject::
43         Specify the initial subject of the email thread.
44         Only necessary if --compose is also set.  If --compose
45         is not set, this will be prompted for.
46
47 --in-reply-to::
48         Specify the contents of the first In-Reply-To header.
49         Subsequent emails will refer to the previous email 
50         instead of this if --chain-reply-to is set (the default)
51         Only necessary if --compose is also set.  If --compose
52         is not set, this will be prompted for.
53
54 --chain-reply-to, --no-chain-reply-to::
55         If this is set, each email will be sent as a reply to the previous
56         email sent.  If disabled with "--no-chain-reply-to", all emails after
57         the first will be sent as replies to the first email sent.  When using
58         this, it is recommended that the first file given be an overview of the
59         entire patch series.
60         Default is --chain-reply-to
61
62 --smtp-server::
63         If set, specifies the outgoing SMTP server to use.  Defaults to
64         localhost.
65
66
67 Author
68 ------
69 Written by Ryan Anderson <ryan@michonline.com>
70
71 git-send-email is originally based upon
72 send_lots_of_email.pl by Greg Kroah-Hartman.
73
74 Documentation
75 --------------
76 Documentation by Ryan Anderson
77
78 GIT
79 ---
80 Part of the gitlink:git[7] suite
81