Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-fmt-merge-msg.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-fmt-merge-msg.adoc` 83 lines ยท 1942 bytes Raw Blame History 1 git-fmt-merge-msg(1) 2 ==================== 3 4 NAME 5 ---- 6 git-fmt-merge-msg - Produce a merge commit message 7 8 9 SYNOPSIS 10 -------- 11 [verse] 12 'git fmt-merge-msg' [-m ] [--into-name ] [--log[=] | --no-log] 13 'git fmt-merge-msg' [-m ] [--log[=] | --no-log] -F 14 15 DESCRIPTION 16 ----------- 17 Takes the list of merged objects on stdin and produces a suitable 18 commit message to be used for the merge commit, usually to be 19 passed as the '' argument of 'git merge'. 20 21 This command is intended mostly for internal use by scripts 22 automatically invoking 'git merge'. 23 24 OPTIONS 25 ------- 26 27 --log[=]:: 28 In addition to branch names, populate the log message with 29 one-line descriptions from the actual commits that are being 30 merged. At most commits from each merge parent will be 31 used (20 if is omitted). This overrides the `merge.log` 32 configuration variable. 33 34 --no-log:: 35 Do not list one-line descriptions from the actual commits being 36 merged. 37 38 --summary:: 39 --no-summary:: 40 Synonyms to --log and --no-log; these are deprecated and will be 41 removed in the future. 42 43 -m :: 44 --message :: 45 Use instead of the branch names for the first line 46 of the log message. For use with `--log`. 47 48 --into-name :: 49 Prepare the merge message as if merging to the branch ``, 50 instead of the name of the real branch to which the merge is made. 51 52 -F :: 53 --file :: 54 Take the list of merged objects from instead of 55 stdin. 56 57 CONFIGURATION 58 ------------- 59 include::config/fmt-merge-msg.adoc[] 60 61 merge.summary:: 62 Synonym to `merge.log`; this is deprecated and will be removed in 63 the future. 64 65 EXAMPLES 66 -------- 67 68 --------- 69 $ git fetch origin master 70 $ git fmt-merge-msg --log <$GIT_DIR/FETCH_HEAD 71 --------- 72 73 Print a log message describing a merge of the "master" branch from 74 the "origin" remote. 75 76 77 SEE ALSO 78 -------- 79 linkgit:git-merge[1] 80 81 GIT 82 --- 83 Part of the linkgit:git[1] suite