]>
Commit | Line | Data |
---|---|---|
3c64314c PB |
1 | git-fmt-merge-msg(1) |
2 | ==================== | |
3 | ||
4 | NAME | |
5 | ---- | |
6 | git-fmt-merge-msg - Produce a merge commit message | |
7 | ||
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
e448ff87 | 11 | [verse] |
96e9420c RR |
12 | 'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] <$GIT_DIR/FETCH_HEAD |
13 | 'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] -F <file> | |
3c64314c PB |
14 | |
15 | DESCRIPTION | |
16 | ----------- | |
17 | Takes the list of merged objects on stdin and produces a suitable | |
18 | commit message to be used for the merge commit, usually to be | |
0b444cdb | 19 | passed as the '<merge-message>' argument of 'git merge'. |
3c64314c | 20 | |
0f8a02c6 JN |
21 | This command is intended mostly for internal use by scripts |
22 | automatically invoking 'git merge'. | |
3c64314c | 23 | |
2bc060cc AR |
24 | OPTIONS |
25 | ------- | |
26 | ||
96e9420c | 27 | --log[=<n>]:: |
2bc060cc AR |
28 | In addition to branch names, populate the log message with |
29 | one-line descriptions from the actual commits that are being | |
96e9420c RR |
30 | merged. At most <n> commits from each merge parent will be |
31 | used (20 if <n> is omitted). This overrides the `merge.log` | |
32 | configuration variable. | |
2bc060cc | 33 | |
6cd9cfef | 34 | --no-log:: |
2bc060cc AR |
35 | Do not list one-line descriptions from the actual commits being |
36 | merged. | |
37 | ||
3240240f SB |
38 | --summary:: |
39 | --no-summary:: | |
6cd9cfef SG |
40 | Synonyms to --log and --no-log; these are deprecated and will be |
41 | removed in the future. | |
42 | ||
2102440c JN |
43 | -m <message>:: |
44 | --message <message>:: | |
45 | Use <message> instead of the branch names for the first line | |
46 | of the log message. For use with `--log`. | |
47 | ||
3240240f SB |
48 | -F <file>:: |
49 | --file <file>:: | |
2bc060cc AR |
50 | Take the list of merged objects from <file> instead of |
51 | stdin. | |
52 | ||
53 | CONFIGURATION | |
54 | ------------- | |
55 | ||
6cd9cfef | 56 | merge.log:: |
bda3b8ff RR |
57 | In addition to branch names, populate the log message with at |
58 | most the specified number of one-line descriptions from the | |
59 | actual commits that are being merged. Defaults to false, and | |
60 | true is a synoym for 20. | |
3c64314c | 61 | |
6cd9cfef SG |
62 | merge.summary:: |
63 | Synonym to `merge.log`; this is deprecated and will be removed in | |
64 | the future. | |
65 | ||
3c64314c PB |
66 | SEE ALSO |
67 | -------- | |
5162e697 | 68 | linkgit:git-merge[1] |
3c64314c PB |
69 | |
70 | ||
71 | Author | |
72 | ------ | |
59eb68aa | 73 | Written by Junio C Hamano <gitster@pobox.com> |
3c64314c PB |
74 | |
75 | Documentation | |
76 | -------------- | |
77 | Documentation by Petr Baudis, Junio C Hamano and the git-list <git@vger.kernel.org>. | |
78 | ||
79 | GIT | |
80 | --- | |
9e1f0a85 | 81 | Part of the linkgit:git[1] suite |