mirror of
https://github.com/git/git.git
synced 2024-11-28 12:34:08 +08:00
dc66e3c799
If help.autocorrect is set to 'prompt', the user is prompted before the suggested action is executed. Based on original patch by David Barr https://lore.kernel.org/git/1283758030-13345-1-git-send-email-david.barr@cordelta.com/ Signed-off-by: Azeem Bande-Ali <me@azeemba.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
help.browser::
|
|
Specify the browser that will be used to display help in the
|
|
'web' format. See linkgit:git-help[1].
|
|
|
|
help.format::
|
|
Override the default help format used by linkgit:git-help[1].
|
|
Values 'man', 'info', 'web' and 'html' are supported. 'man' is
|
|
the default. 'web' and 'html' are the same.
|
|
|
|
help.autoCorrect::
|
|
If git detects typos and can identify exactly one valid command similar
|
|
to the error, git will try to suggest the correct command or even
|
|
run the suggestion automatically. Possible config values are:
|
|
- 0 (default): show the suggested command.
|
|
- positive number: run the suggested command after specified
|
|
deciseconds (0.1 sec).
|
|
- "immediate": run the suggested command immediately.
|
|
- "prompt": show the suggestion and prompt for confirmation to run
|
|
the command.
|
|
- "never": don't run or show any suggested command.
|
|
|
|
help.htmlPath::
|
|
Specify the path where the HTML documentation resides. File system paths
|
|
and URLs are supported. HTML pages will be prefixed with this path when
|
|
help is displayed in the 'web' format. This defaults to the documentation
|
|
path of your Git installation.
|