Skip to content

Commit 5814b04

Browse files
pushkarscriptsgitster
authored andcommitted
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>
1 parent f368df4 commit 5814b04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/git-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ recommended to migrate to the new syntax.
317317
Replaced by `git config get --all --show-names --regexp <name-regexp>`.
318318
319319
--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>`.
321321
322322
--get-color <name> [<default>]::
323323
Replaced by `git config get --type=color [--default=<default>] <name>`.

0 commit comments

Comments
 (0)