summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-05-05 23:12:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-06 18:39:40 (GMT)
commit4153274052eea5cf57cbffb6acafb1ec8699820b (patch)
tree58ccb0b143015f6f2181fc10c835d77e5996304c /Documentation
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec (diff)
downloadgit-4153274052eea5cf57cbffb6acafb1ec8699820b.zip
git-4153274052eea5cf57cbffb6acafb1ec8699820b.tar.gz
git-4153274052eea5cf57cbffb6acafb1ec8699820b.tar.bz2
docs: document credential.helper allowed values
gitcredentials(7) already mentions several possible invocations that one can use as the value for credential.helper. However, many people are not aware that there are other options than a simple credential helper name, so let's place some explanatory text in the documentation for credential.helper as well. We still refer the user to gitcredential(7) for additional explanations and helpful examples. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config/credential.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/config/credential.txt b/Documentation/config/credential.txt
index 60fb318..9d01641 100644
--- a/Documentation/config/credential.txt
+++ b/Documentation/config/credential.txt
@@ -1,9 +1,13 @@
credential.helper::
Specify an external helper to be called when a username or
password credential is needed; the helper may consult external
- storage to avoid prompting the user for the credentials. Note
- that multiple helpers may be defined. See linkgit:gitcredentials[7]
- for details.
+ storage to avoid prompting the user for the credentials. This is
+ normally the name of a credential helper with possible
+ arguments, but may also be an absolute path with arguments or, if
+ preceded by `!`, shell commands.
++
+Note that multiple helpers may be defined. See linkgit:gitcredentials[7]
+for details and examples.
credential.useHttpPath::
When acquiring credentials, consider the "path" component of an http