Imported Upstream version 2.27.0
[platform/upstream/git.git] / Documentation / config / credential.txt
1 credential.helper::
2         Specify an external helper to be called when a username or
3         password credential is needed; the helper may consult external
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.
11
12 credential.useHttpPath::
13         When acquiring credentials, consider the "path" component of an http
14         or https URL to be important. Defaults to false. See
15         linkgit:gitcredentials[7] for more information.
16
17 credential.username::
18         If no username is set for a network authentication, use this username
19         by default. See credential.<context>.* below, and
20         linkgit:gitcredentials[7].
21
22 credential.<url>.*::
23         Any of the credential.* options above can be applied selectively to
24         some credentials. For example "credential.https://example.com.username"
25         would set the default username only for https connections to
26         example.com. See linkgit:gitcredentials[7] for details on how URLs are
27         matched.
28
29 credentialCache.ignoreSIGHUP::
30         Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting.