Skip to content

Commit c197977

Browse files
committed
Merge branch 'mh/gitcredentials-generate'
Doc update. * mh/gitcredentials-generate: Docs: describe how a credential-generating helper works
2 parents f8828f9 + dabb9d8 commit c197977

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Documentation/gitcredentials.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ for a password. It is generally configured by adding this to your config:
6262

6363
Credential helpers, on the other hand, are external programs from which Git can
6464
request both usernames and passwords; they typically interface with secure
65-
storage provided by the OS or other programs.
65+
storage provided by the OS or other programs. Alternatively, a
66+
credential-generating helper might generate credentials for certain servers via
67+
some API.
6668

6769
To use a helper, you must first select one to use. Git currently
6870
includes the following helpers:
@@ -288,8 +290,8 @@ For a `store` or `erase` operation, the helper's output is ignored.
288290
If a helper fails to perform the requested operation or needs to notify
289291
the user of a potential issue, it may write to stderr.
290292

291-
If it does not support the requested operation (e.g., a read-only store),
292-
it should silently ignore the request.
293+
If it does not support the requested operation (e.g., a read-only store
294+
or generator), it should silently ignore the request.
293295

294296
If a helper receives any other operation, it should silently ignore the
295297
request. This leaves room for future operations to be added (older

0 commit comments

Comments
 (0)