From 5814b04c02a983b3810f7b25acb024608c5246bb Mon Sep 17 00:00:00 2001 From: Pushkar Singh Date: Thu, 15 Jan 2026 11:08:05 +0000 Subject: [PATCH] Documentation/config: fix replacement for --get-urlmatch The documentation claims that --get-urlmatch is replaced by git config get --all --show-names --url= 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 Signed-off-by: Junio C Hamano --- 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 936e0c5130..4602be7550 100644 --- a/Documentation/git-config.adoc +++ b/Documentation/git-config.adoc @@ -317,7 +317,7 @@ recommended to migrate to the new syntax. Replaced by `git config get --all --show-names --regexp `. --get-urlmatch :: - Replaced by `git config get --all --show-names --url= `. + Replaced by `git config get --url= `. --get-color []:: Replaced by `git config get --type=color [--default=] `.