git-fmt-merge-msg
Produce a merge commit message
- Provided by: git-man (Version: 1:2.17.1-1ubuntu0.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.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