Skip to content

Commit 9a73c95

Browse files
committed
Merge branch 'jn/credential-doc-on-clear' into maint
Doc update. * jn/credential-doc-on-clear: credential doc: make multiple-helper behavior more prominent
2 parents 7dab7c5 + 515360f commit 9a73c95

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/gitcredentials.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,6 @@ $ git help credential-foo
101101
$ git config --global credential.helper foo
102102
-------------------------------------------
103103

104-
If there are multiple instances of the `credential.helper` configuration
105-
variable, each helper will be tried in turn, and may provide a username,
106-
password, or nothing. Once Git has acquired both a username and a
107-
password, no more helpers will be tried.
108-
109-
If `credential.helper` is configured to the empty string, this resets
110-
the helper list to empty (so you may override a helper set by a
111-
lower-priority config file by configuring the empty-string helper,
112-
followed by whatever set of helpers you would like).
113-
114104

115105
CREDENTIAL CONTEXTS
116106
-------------------
@@ -162,6 +152,16 @@ helper::
162152
shell (so, for example, setting this to `foo --option=bar` will execute
163153
`git credential-foo --option=bar` via the shell. See the manual of
164154
specific helpers for examples of their use.
155+
+
156+
If there are multiple instances of the `credential.helper` configuration
157+
variable, each helper will be tried in turn, and may provide a username,
158+
password, or nothing. Once Git has acquired both a username and a
159+
password, no more helpers will be tried.
160+
+
161+
If `credential.helper` is configured to the empty string, this resets
162+
the helper list to empty (so you may override a helper set by a
163+
lower-priority config file by configuring the empty-string helper,
164+
followed by whatever set of helpers you would like).
165165

166166
username::
167167

0 commit comments

Comments
 (0)