]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation/config: fix replacement for --get-urlmatch
authorPushkar Singh <pushkarkumarsingh1970@gmail.com>
Thu, 15 Jan 2026 11:08:05 +0000 (11:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jan 2026 13:50:55 +0000 (05:50 -0800)
commit5814b04c02a983b3810f7b25acb024608c5246bb
treee8379d3af4a33ca99d46f438533e87aa93ac5831
parentf368df439b31b422169975cc3c95f7db6a46eada
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>
Documentation/git-config.adoc