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

[PATCH] Documentation/config: fix replacement for --get-urlmatch

From
Pushkar Singh <pushkarkumarsingh1970@gmail.com>
Date
Jan 15, 2026, 11:08 UTC
Message-ID
<20260115110832.15315-1-pushkarkumarsingh1970@gmail.com>
The documentation claims that --get-urlmatch is replaced by
  git config get --all --show-names --url=<URL> <name>

However, --url cannot be combined with --all, and this command fails in practice.

Update the replacement to use only --url, which matches the actual behavior of --get-urlmatch.

Signed-off-by: Pushkar Singh <pushkarkumarsingh1970@gmail.com>
---
 Documentation/git-config.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-config.adoc b/Documentation/git-config.adoc
index cc054fa7e1..ac3b536a15 100644
--- a/Documentation/git-config.adoc
+++ b/Documentation/git-config.adoc
@@ -332,7 +332,7 @@ recommended to migrate to the new syntax.
 	Replaced by `git config get --all --show-names --regexp <name-regexp>`.
 
 --get-urlmatch <name> <URL>::
-	Replaced by `git config get --all --show-names --url=<URL> <name>`.
+	Replaced by `git config get --url=<URL> <name>`.
 
 --get-color <name> [<default>]::
 	Replaced by `git config get --type=color [--default=<default>] <name>`.
-- 
2.43.0
Next: Shreyansh Paliwal
Message 1 of 2 in “Documentation/config: fix replacement for --get-urlmatch”
  1. Documentation/config: fix replacement for --get-urlmatchPushkar Singh, Jan 15, 2026
  2. Shreyansh PaliwalJan 15, 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.