git-fmt-merge-msg
Produce a merge commit message
- Provided by: git-man (Version: 1:2.34.1-1ubuntu1.18)
- Source: git
- Report a bug
Produce a merge commit message
git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] -F <file>
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 <merge-message> argument of git merge.
This command is intended mostly for internal use by scripts automatically invoking git merge.
--log[=<n>]
--no-log
--[no-]summary
-m <message>, --message <message>
-F <file>, --file <file>
merge.branchdesc
merge.log
merge.suppressDest
An element with an empty value can be used to clear the list of globs accumulated from previous configuration entries. When there is no merge.suppressDest variable defined, the default value of master is used for backward compatibility.
merge.summary
$ git fetch origin master $ git fmt-merge-msg --log <$GIT_DIR/FETCH_HEAD
Print a log message describing a merge of the "master" branch from the "origin" remote.
Part of the git(1) suite