blob: bb1232a52c4f0e4995f1fd38737461165772c239 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-fmt-merge-msg(1)
2====================
3
4NAME
5----
6git-fmt-merge-msg - Produce a merge commit message
7
8
9SYNOPSIS
10--------
Junio C Hamanoa9b8d242007-05-19 04:51:5511[verse]
Junio C Hamano3b4609d2010-09-30 00:04:3412'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>
Junio C Hamano1a4e8412005-12-27 08:17:2314
15DESCRIPTION
16-----------
17Takes the list of merged objects on stdin and produces a suitable
18commit message to be used for the merge commit, usually to be
Junio C Hamano1aa40d22010-01-21 17:46:4319passed as the '<merge-message>' argument of 'git merge'.
Junio C Hamano1a4e8412005-12-27 08:17:2320
Junio C Hamanoc0e55e72009-10-10 00:56:2921This command is intended mostly for internal use by scripts
22automatically invoking 'git merge'.
Junio C Hamano1a4e8412005-12-27 08:17:2323
Junio C Hamano9882a522007-04-27 08:22:2224OPTIONS
25-------
26
Junio C Hamano3b4609d2010-09-30 00:04:3427--log[=<n>]::
Junio C Hamano9882a522007-04-27 08:22:2228In addition to branch names, populate the log message with
29one-line descriptions from the actual commits that are being
Junio C Hamano3b4609d2010-09-30 00:04:3430merged. At most <n> commits from each merge parent will be
31used (20 if <n> is omitted). This overrides the `merge.log`
32configuration variable.
Junio C Hamano9882a522007-04-27 08:22:2233
Junio C Hamano6d76d612008-05-09 05:46:0834--no-log::
Junio C Hamano9882a522007-04-27 08:22:2235Do not list one-line descriptions from the actual commits being
36merged.
37
Junio C Hamano3d1b5a12013-05-17 23:34:0238--[no-]summary::
Junio C Hamano6d76d612008-05-09 05:46:0839Synonyms to --log and --no-log; these are deprecated and will be
40removed in the future.
41
Junio C Hamano2db3e752010-09-03 21:33:0642-m <message>::
43--message <message>::
44Use <message> instead of the branch names for the first line
45of the log message. For use with `--log`.
46
Junio C Hamanoeb415992008-06-08 22:49:4747-F <file>::
48--file <file>::
Junio C Hamano9882a522007-04-27 08:22:2249Take the list of merged objects from <file> instead of
50stdin.
51
52CONFIGURATION
53-------------
54
Junio C Hamanoe0238c22012-02-23 22:45:5055merge.branchdesc::
56In addition to branch names, populate the log message with
57the branch description text associated with them. Defaults
58to false.
59
Junio C Hamano6d76d612008-05-09 05:46:0860merge.log::
Junio C Hamano3b4609d2010-09-30 00:04:3461In addition to branch names, populate the log message with at
62most the specified number of one-line descriptions from the
63actual commits that are being merged. Defaults to false, and
Junio C Hamano7165bf72011-01-04 22:06:1864true is a synonym for 20.
Junio C Hamano1a4e8412005-12-27 08:17:2365
Junio C Hamano6d76d612008-05-09 05:46:0866merge.summary::
67Synonym to `merge.log`; this is deprecated and will be removed in
68the future.
69
Junio C Hamano1a4e8412005-12-27 08:17:2370SEE ALSO
71--------
Junio C Hamano35738e82008-01-07 07:55:4672linkgit:git-merge[1]
Junio C Hamano1a4e8412005-12-27 08:17:2373
Junio C Hamano1a4e8412005-12-27 08:17:2374GIT
75---
Junio C Hamanof7c042d2008-06-06 22:50:5376Part of the linkgit:git[1] suite