Documentation/config: fix replacement for --get-urlmatch

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> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pushkar Singh committed Jan 15, 2026 at 11:08 UTC 5814b04c02a983b3810f7b25acb024608c5246bb
1 file changed +1 -1
Documentation/git-config.adoc
+1 -1
@@ -317,7 +317,7 @@ recommended to migrate to the new syntax.
317 Replaced by `git config get --all --show-names --regexp <name-regexp>`.
318
319 --get-urlmatch <name> <URL>::
320 - Replaced by `git config get --all --show-names --url=<URL> <name>`.
320 + Replaced by `git config get --url=<URL> <name>`.
321
322 --get-color <name> [<default>]::
323 Replaced by `git config get --type=color [--default=<default>] <name>`.