1GIT-FMT-MERGE-MSG(1)              Git Manual              GIT-FMT-MERGE-MSG(1)
2
3
4

NAME

6       git-fmt-merge-msg - Produce a merge commit message
7

SYNOPSIS

9       git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] <$GIT_DIR/FETCH_HEAD
10       git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] -F <file>
11
12

DESCRIPTION

14       Takes the list of merged objects on stdin and produces a suitable
15       commit message to be used for the merge commit, usually to be passed as
16       the <merge-message> argument of git merge.
17
18       This command is intended mostly for internal use by scripts
19       automatically invoking git merge.
20

OPTIONS

22       --log[=<n>]
23           In addition to branch names, populate the log message with one-line
24           descriptions from the actual commits that are being merged. At most
25           <n> commits from each merge parent will be used (20 if <n> is
26           omitted). This overrides the merge.log configuration variable.
27
28       --no-log
29           Do not list one-line descriptions from the actual commits being
30           merged.
31
32       --[no-]summary
33           Synonyms to --log and --no-log; these are deprecated and will be
34           removed in the future.
35
36       -m <message>, --message <message>
37           Use <message> instead of the branch names for the first line of the
38           log message. For use with --log.
39
40       -F <file>, --file <file>
41           Take the list of merged objects from <file> instead of stdin.
42

CONFIGURATION

44       merge.branchdesc
45           In addition to branch names, populate the log message with the
46           branch description text associated with them. Defaults to false.
47
48       merge.log
49           In addition to branch names, populate the log message with at most
50           the specified number of one-line descriptions from the actual
51           commits that are being merged. Defaults to false, and true is a
52           synonym for 20.
53
54       merge.summary
55           Synonym to merge.log; this is deprecated and will be removed in the
56           future.
57

SEE ALSO

59       git-merge(1)
60

GIT

62       Part of the git(1) suite
63
64
65
66Git 1.8.3.1                       11/19/2018              GIT-FMT-MERGE-MSG(1)
Impressum