2005-11-01 21:45:55 +01:00
|
|
|
git-fmt-merge-msg(1)
|
|
|
|
====================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-fmt-merge-msg - Produce a merge commit message
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2007-05-18 15:39:33 +02:00
|
|
|
[verse]
|
2010-09-08 19:59:54 +02:00
|
|
|
'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] <$GIT_DIR/FETCH_HEAD
|
|
|
|
'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] -F <file>
|
2005-11-01 21:45:55 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Takes the list of merged objects on stdin and produces a suitable
|
|
|
|
commit message to be used for the merge commit, usually to be
|
2010-01-10 00:33:00 +01:00
|
|
|
passed as the '<merge-message>' argument of 'git merge'.
|
2005-11-01 21:45:55 +01:00
|
|
|
|
2009-10-09 12:16:15 +02:00
|
|
|
This command is intended mostly for internal use by scripts
|
|
|
|
automatically invoking 'git merge'.
|
2005-11-01 21:45:55 +01:00
|
|
|
|
2007-04-27 06:58:57 +02:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2010-09-08 19:59:54 +02:00
|
|
|
--log[=<n>]::
|
2007-04-27 06:58:57 +02:00
|
|
|
In addition to branch names, populate the log message with
|
|
|
|
one-line descriptions from the actual commits that are being
|
2010-09-08 19:59:54 +02:00
|
|
|
merged. At most <n> commits from each merge parent will be
|
|
|
|
used (20 if <n> is omitted). This overrides the `merge.log`
|
|
|
|
configuration variable.
|
2007-04-27 06:58:57 +02:00
|
|
|
|
2008-04-06 03:23:45 +02:00
|
|
|
--no-log::
|
2007-04-27 06:58:57 +02:00
|
|
|
Do not list one-line descriptions from the actual commits being
|
|
|
|
merged.
|
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
--summary::
|
|
|
|
--no-summary::
|
2008-04-06 03:23:45 +02:00
|
|
|
Synonyms to --log and --no-log; these are deprecated and will be
|
|
|
|
removed in the future.
|
|
|
|
|
2010-08-18 01:00:34 +02:00
|
|
|
-m <message>::
|
|
|
|
--message <message>::
|
|
|
|
Use <message> instead of the branch names for the first line
|
|
|
|
of the log message. For use with `--log`.
|
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
-F <file>::
|
|
|
|
--file <file>::
|
2007-04-27 06:58:57 +02:00
|
|
|
Take the list of merged objects from <file> instead of
|
|
|
|
stdin.
|
|
|
|
|
|
|
|
CONFIGURATION
|
|
|
|
-------------
|
|
|
|
|
2008-04-06 03:23:45 +02:00
|
|
|
merge.log::
|
2010-09-08 19:59:55 +02:00
|
|
|
In addition to branch names, populate the log message with at
|
|
|
|
most the specified number of one-line descriptions from the
|
|
|
|
actual commits that are being merged. Defaults to false, and
|
2011-01-03 20:03:34 +01:00
|
|
|
true is a synonym for 20.
|
2005-11-01 21:45:55 +01:00
|
|
|
|
2008-04-06 03:23:45 +02:00
|
|
|
merge.summary::
|
|
|
|
Synonym to `merge.log`; this is deprecated and will be removed in
|
|
|
|
the future.
|
|
|
|
|
2005-11-01 21:45:55 +01:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2007-12-29 07:20:38 +01:00
|
|
|
linkgit:git-merge[1]
|
2005-11-01 21:45:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
2008-07-21 21:14:42 +02:00
|
|
|
Written by Junio C Hamano <gitster@pobox.com>
|
2005-11-01 21:45:55 +01:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Petr Baudis, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|