diff options
| author | Pushkar Singh <pushkarkumarsingh1970@gmail.com> | 2026-01-15 11:08:05 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-15 05:50:55 -0800 |
| commit | 5814b04c02a983b3810f7b25acb024608c5246bb (patch) | |
| tree | e8379d3af4a33ca99d46f438533e87aa93ac5831 /Documentation/git-config.adoc | |
| parent | f368df439b31b422169975cc3c95f7db6a46eada (diff) | |
| download | git-5814b04c02a983b3810f7b25acb024608c5246bb.tar.xz | |
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>
Diffstat (limited to 'Documentation/git-config.adoc')
| -rw-r--r-- | Documentation/git-config.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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>`. |
