git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] doc: add missing --message long option to merge docs

From
BGBrandon Dong via GitGitGadget <gitgitgadget@gmail.com>
Date
May 29, 2026, 01:55 UTC
Message-ID
<pull.2315.git.git.1780019726297.gitgitgadget@gmail.com>
From: Brandon <brandondong96@gmail.com>

Include mention of --message flag in merge docs to match what is accepted (builtin/merge.c) and to make it consistent with the git commit docs.

Signed-off-by: Brandon Dong <brandondong96@gmail.com>
---
    doc: add missing --message long option to merge docs
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2315%2Fbrandondong%2Fmerge_message_docs-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2315/brandondong/merge_message_docs-v1
Pull-Request: https://github.com/git/git/pull/2315
 Documentation/git-merge.adoc | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Documentation/git-merge.adoc b/Documentation/git-merge.adoc
index a055384ad6..6581f4c69c 100644
--- a/Documentation/git-merge.adoc
+++ b/Documentation/git-merge.adoc
@@ -68,6 +68,7 @@ OPTIONS
 include::merge-options.adoc[]
 
 `-m <msg>`::
+`--message=<msg>`::
 	Set the commit message to be used for the merge commit (in
 	case one is created).
 +

base-commit: c69baaf57ba26cf117c2b6793802877f19738b0d
-- 
gitgitgadget
Next: Junio C Hamano
Message 1 of 3 in “doc: add missing --message long option to merge docs”
  1. doc: add missing --message long option to merge docsBrandon Dong via GitGitGadget, May 29, 2026
  2. Junio C HamanoMay 29, 2026
  3. BrandonMay 31, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.