diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:57 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:57 +0900 |
commit | 0df3550d598394c4c6948b17ba6ce0f6c99139a3 (patch) | |
tree | 00157ef1af98e9b7bcfa2e979010baeabb029613 /Documentation | |
parent | 883247c2fc1783b448fb8730284de85a758dc05d (diff) | |
parent | 515360f9e9be976344e3d21cf6f28dcd2ff3c4f9 (diff) | |
download | git-0df3550d598394c4c6948b17ba6ce0f6c99139a3.tar.gz git-0df3550d598394c4c6948b17ba6ce0f6c99139a3.tar.xz |
Merge branch 'jn/credential-doc-on-clear'
Doc update.
* jn/credential-doc-on-clear:
credential doc: make multiple-helper behavior more prominent
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gitcredentials.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt index f3a75d1ce..f970196bc 100644 --- a/Documentation/gitcredentials.txt +++ b/Documentation/gitcredentials.txt @@ -101,16 +101,6 @@ $ git help credential-foo $ git config --global credential.helper foo ------------------------------------------- -If there are multiple instances of the `credential.helper` configuration -variable, each helper will be tried in turn, and may provide a username, -password, or nothing. Once Git has acquired both a username and a -password, no more helpers will be tried. - -If `credential.helper` is configured to the empty string, this resets -the helper list to empty (so you may override a helper set by a -lower-priority config file by configuring the empty-string helper, -followed by whatever set of helpers you would like). - CREDENTIAL CONTEXTS ------------------- @@ -162,6 +152,16 @@ helper:: shell (so, for example, setting this to `foo --option=bar` will execute `git credential-foo --option=bar` via the shell. See the manual of specific helpers for examples of their use. ++ +If there are multiple instances of the `credential.helper` configuration +variable, each helper will be tried in turn, and may provide a username, +password, or nothing. Once Git has acquired both a username and a +password, no more helpers will be tried. ++ +If `credential.helper` is configured to the empty string, this resets +the helper list to empty (so you may override a helper set by a +lower-priority config file by configuring the empty-string helper, +followed by whatever set of helpers you would like). username:: |