Skip to content

Commit 4153274

Browse files
bk2204gitster
authored andcommitted
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 <[email protected]> Acked-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af6b65d commit 4153274

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Documentation/config/credential.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
credential.helper::
22
Specify an external helper to be called when a username or
33
password credential is needed; the helper may consult external
4-
storage to avoid prompting the user for the credentials. Note
5-
that multiple helpers may be defined. See linkgit:gitcredentials[7]
6-
for details.
4+
storage to avoid prompting the user for the credentials. This is
5+
normally the name of a credential helper with possible
6+
arguments, but may also be an absolute path with arguments or, if
7+
preceded by `!`, shell commands.
8+
+
9+
Note that multiple helpers may be defined. See linkgit:gitcredentials[7]
10+
for details and examples.
711

812
credential.useHttpPath::
913
When acquiring credentials, consider the "path" component of an http

0 commit comments

Comments
 (0)