Skip to content

Commit c6dea59

Browse files
committed
Merge branch 'mh/doc-credential-cache-only-in-core'
Documentation clarification. * mh/doc-credential-cache-only-in-core: Documentation: clarify that cache forgets credentials if the system restarts
2 parents ad7fd3c + 4f54297 commit c6dea59

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Documentation/git-credential-cache.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ git config credential.helper 'cache [<options>]'
1414
DESCRIPTION
1515
-----------
1616

17-
This command caches credentials in memory for use by future Git
18-
programs. The stored credentials never touch the disk, and are forgotten
19-
after a configurable timeout. The cache is accessible over a Unix
20-
domain socket, restricted to the current user by filesystem permissions.
17+
This command caches credentials for use by future Git programs.
18+
The stored credentials are kept in memory of the cache-daemon
19+
process (instead of written to a file) and are forgotten after a
20+
configurable timeout. Credentials are forgotten sooner if the
21+
cache-daemon dies, for example if the system restarts. The cache
22+
is accessible over a Unix domain socket, restricted to the current
23+
user by filesystem permissions.
2124

2225
You probably don't want to invoke this command directly; it is meant to
2326
be used as a credential helper by other parts of Git. See

0 commit comments

Comments
 (0)