1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <sect2 lang="en" id="git-fmt-merge-msg(1)">
\r
5 <title>git-fmt-merge-msg(1)</title>
\r
7 <primary>git-fmt-merge-msg(1)</primary>
\r
9 <simplesect id="git-fmt-merge-msg(1)__name">
\r
11 <simpara>git-fmt-merge-msg - Produce a merge commit message</simpara>
\r
13 <simplesect id="git-fmt-merge-msg(1)__synopsis">
\r
14 <title>SYNOPSIS</title>
\r
16 <literallayout><emphasis>git fmt-merge-msg</emphasis> [-m <message>] [--log[=<n>] | --no-log]
\r
17 <emphasis>git fmt-merge-msg</emphasis> [-m <message>] [--log[=<n>] | --no-log] -F <file></literallayout>
\r
20 <simplesect id="git-fmt-merge-msg(1)__description">
\r
21 <title>DESCRIPTION</title>
\r
22 <simpara>Takes the list of merged objects on stdin and produces a suitable
\r
23 commit message to be used for the merge commit, usually to be
\r
24 passed as the <emphasis><merge-message></emphasis> argument of <emphasis>git merge</emphasis>.</simpara>
\r
25 <simpara>This command is intended mostly for internal use by scripts
\r
26 automatically invoking <emphasis>git merge</emphasis>.</simpara>
\r
28 <simplesect id="git-fmt-merge-msg(1)__options">
\r
29 <title>OPTIONS</title>
\r
37 In addition to branch names, populate the log message with
\r
38 one-line descriptions from the actual commits that are being
\r
39 merged. At most <n> commits from each merge parent will be
\r
40 used (20 if <n> is omitted). This overrides the <emphasis>merge.log</emphasis>
\r
41 configuration variable.
\r
51 Do not list one-line descriptions from the actual commits being
\r
62 Synonyms to --log and --no-log; these are deprecated and will be
\r
63 removed in the future.
\r
72 --message <message>
\r
76 Use <message> instead of the branch names for the first line
\r
77 of the log message. For use with <emphasis>--log</emphasis>.
\r
90 Take the list of merged objects from <file> instead of
\r
97 <simplesect id="git-fmt-merge-msg(1)__configuration">
\r
98 <title>CONFIGURATION</title>
\r
106 In addition to branch names, populate the log message with
\r
107 the branch description text associated with them. Defaults
\r
118 In addition to branch names, populate the log message with at
\r
119 most the specified number of one-line descriptions from the
\r
120 actual commits that are being merged. Defaults to false, and
\r
121 true is a synonym for 20.
\r
131 Synonym to <emphasis>merge.log</emphasis>; this is deprecated and will be removed in
\r
138 <simplesect id="git-fmt-merge-msg(1)__example">
\r
139 <title>EXAMPLE</title>
\r
140 <simpara>$ git fetch origin master
\r
141 $ git fmt-merge-msg --log <$GIT_DIR/FETCH_HEAD</simpara>
\r
142 <simpara>Print a log message describing a merge of the "master" branch from
\r
143 the "origin" remote.</simpara>
\r
145 <simplesect id="git-fmt-merge-msg(1)__see_also">
\r
146 <title>SEE ALSO</title>
\r
147 <simpara><xref linkend="git-merge(1)" /></simpara>
\r
149 <simplesect id="git-fmt-merge-msg(1)__git">
\r
151 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r