<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<article lang="en" id="git-fmt-merge-msg(1)">
<articleinfo>
    <title>git-fmt-merge-msg(1)</title>
        <indexterm>
                <primary>git-fmt-merge-msg(1)</primary>
        </indexterm>
</articleinfo>
<simplesect id="_name">
<title>NAME</title>
<simpara>git-fmt-merge-msg - Produce a merge commit message</simpara>
</simplesect>
<simplesect id="_synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git fmt-merge-msg</emphasis> [--log | --no-log] &lt;$GIT_DIR/FETCH_HEAD
<emphasis>git fmt-merge-msg</emphasis> [--log | --no-log] -F &lt;file&gt;</literallayout>
</blockquote>
</simplesect>
<simplesect id="_description">
<title>DESCRIPTION</title>
<simpara>Takes the list of merged objects on stdin and produces a suitable
commit message to be used for the merge commit, usually to be
passed as the <emphasis>&lt;merge-message&gt;</emphasis> argument of <emphasis>git-merge</emphasis>.</simpara>
<simpara>This script is intended mostly for internal use by scripts
automatically invoking <emphasis>git-merge</emphasis>.</simpara>
</simplesect>
<simplesect id="_options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
--log
</term>
<listitem>
<simpara>
        In addition to branch names, populate the log message with
        one-line descriptions from the actual commits that are being
        merged.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--no-log
</term>
<listitem>
<simpara>
        Do not list one-line descriptions from the actual commits being
        merged.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--summary
</term>
<term>
--no-summary
</term>
<listitem>
<simpara>
        Synonyms to --log and --no-log; these are deprecated and will be
        removed in the future.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
-F &lt;file&gt;
</term>
<term>
--file &lt;file&gt;
</term>
<listitem>
<simpara>
        Take the list of merged objects from &lt;file&gt; instead of
        stdin.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="_configuration">
<title>CONFIGURATION</title>
<variablelist>
<varlistentry>
<term>
merge.log
</term>
<listitem>
<simpara>
        Whether to include summaries of merged commits in newly
        merge commit messages. False by default.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
merge.summary
</term>
<listitem>
<simpara>
        Synonym to <literal>merge.log</literal>; this is deprecated and will be removed in
        the future.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="_see_also">
<title>SEE ALSO</title>
<simpara><xref linkend="git-merge(1)"/></simpara>
</simplesect>
<simplesect id="_author">
<title>Author</title>
<simpara>Written by Junio C Hamano &lt;<ulink url="mailto:gitster@pobox.com">gitster@pobox.com</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_documentation">
<title>Documentation</title>
<simpara>Documentation by Petr Baudis, Junio C Hamano and the git-list &lt;<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>&gt;.</simpara>
</simplesect>
<simplesect id="_git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
</simplesect>
</article>
