2005-11-01 23:45:55 +03:00
|
|
|
git-fmt-merge-msg(1)
|
|
|
|
====================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-fmt-merge-msg - Produce a merge commit message
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2007-05-18 17:39:33 +04:00
|
|
|
[verse]
|
2010-09-08 21:59:54 +04: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 23:45:55 +03: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 02:33:00 +03:00
|
|
|
passed as the '<merge-message>' argument of 'git merge'.
|
2005-11-01 23:45:55 +03:00
|
|
|
|
2009-10-09 14:16:15 +04:00
|
|
|
This command is intended mostly for internal use by scripts
|
|
|
|
automatically invoking 'git merge'.
|
2005-11-01 23:45:55 +03:00
|
|
|
|
2007-04-27 08:58:57 +04:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2010-09-08 21:59:54 +04:00
|
|
|
--log[=<n>]::
|
2007-04-27 08:58:57 +04:00
|
|
|
In addition to branch names, populate the log message with
|
|
|
|
one-line descriptions from the actual commits that are being
|
2010-09-08 21:59:54 +04: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 08:58:57 +04:00
|
|
|
|
2008-04-06 05:23:45 +04:00
|
|
|
--no-log::
|
2007-04-27 08:58:57 +04:00
|
|
|
Do not list one-line descriptions from the actual commits being
|
|
|
|
merged.
|
|
|
|
|
2013-05-09 05:16:55 +04:00
|
|
|
--[no-]summary::
|
2008-04-06 05:23:45 +04:00
|
|
|
Synonyms to --log and --no-log; these are deprecated and will be
|
|
|
|
removed in the future.
|
|
|
|
|
2010-08-18 03:00:34 +04: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 05:36:09 +04:00
|
|
|
-F <file>::
|
|
|
|
--file <file>::
|
2007-04-27 08:58:57 +04:00
|
|
|
Take the list of merged objects from <file> instead of
|
|
|
|
stdin.
|
|
|
|
|
|
|
|
CONFIGURATION
|
|
|
|
-------------
|
|
|
|
|
2012-02-23 23:20:15 +04:00
|
|
|
merge.branchdesc::
|
|
|
|
In addition to branch names, populate the log message with
|
|
|
|
the branch description text associated with them. Defaults
|
|
|
|
to false.
|
|
|
|
|
2008-04-06 05:23:45 +04:00
|
|
|
merge.log::
|
2010-09-08 21:59:55 +04: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 22:03:34 +03:00
|
|
|
true is a synonym for 20.
|
2005-11-01 23:45:55 +03:00
|
|
|
|
2008-04-06 05:23:45 +04:00
|
|
|
merge.summary::
|
|
|
|
Synonym to `merge.log`; this is deprecated and will be removed in
|
|
|
|
the future.
|
|
|
|
|
2005-11-01 23:45:55 +03:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2007-12-29 09:20:38 +03:00
|
|
|
linkgit:git-merge[1]
|
2005-11-01 23:45:55 +03:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|