config.txt: move credential.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Oct 27, 2018 at 08:22 UTC
3a49be6d5cf950e30f5cd99b0f817f0bf87a7e03
2 files changed
+27
-26
Documentation/config.txt
+1
-26
@@ -315,32 +315,7 @@ include::config/column.txt[]
315
316
include::config/commit.txt[]
317
318
-credential.helper::
319
- Specify an external helper to be called when a username or
320
- password credential is needed; the helper may consult external
321
- storage to avoid prompting the user for the credentials. Note
322
- that multiple helpers may be defined. See linkgit:gitcredentials[7]
323
- for details.
324
-
325
-credential.useHttpPath::
326
- When acquiring credentials, consider the "path" component of an http
327
- or https URL to be important. Defaults to false. See
328
- linkgit:gitcredentials[7] for more information.
329
-
330
-credential.username::
331
- If no username is set for a network authentication, use this username
332
- by default. See credential.<context>.* below, and
333
- linkgit:gitcredentials[7].
334
-
335
-credential.<url>.*::
336
- Any of the credential.* options above can be applied selectively to
337
- some credentials. For example "credential.https://example.com.username"
338
- would set the default username only for https connections to
339
- example.com. See linkgit:gitcredentials[7] for details on how URLs are
340
- matched.
341
-
342
-credentialCache.ignoreSIGHUP::
343
- Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting.
318
+include::config/credential.txt[]
319
320
completion.commands::
321
This is only used by git-completion.bash to add or remove
Documentation/config/credential.txt
new
+26
@@ -0,0 +1,26 @@
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. Note
5
+ that multiple helpers may be defined. See linkgit:gitcredentials[7]
6
+ for details.
7
+
8
+credential.useHttpPath::
9
+ When acquiring credentials, consider the "path" component of an http
10
+ or https URL to be important. Defaults to false. See
11
+ linkgit:gitcredentials[7] for more information.
12
+
13
+credential.username::
14
+ If no username is set for a network authentication, use this username
15
+ by default. See credential.<context>.* below, and
16
+ linkgit:gitcredentials[7].
17
+
18
+credential.<url>.*::
19
+ Any of the credential.* options above can be applied selectively to
20
+ some credentials. For example "credential.https://example.com.username"
21
+ would set the default username only for https connections to
22
+ example.com. See linkgit:gitcredentials[7] for details on how URLs are
23
+ matched.
24
+
25
+credentialCache.ignoreSIGHUP::
26
+ Tell git-credential-cache--daemon to ignore SIGHUP, instead of quitting.