Documentation: clarify that cache forgets credentials if the system restarts
Signed-off-by: M Hickford <mirth.hickford@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
M Hickford committed
Jan 28, 2023 at 20:13 UTC
4f542975d1c0e78799359e1bd40e34972030a1cf
1 file changed
+7
-4
Documentation/git-credential-cache.txt
+7
-4
@@ -14,10 +14,13 @@ git config credential.helper 'cache [<options>]'
14
DESCRIPTION
15
-----------
16
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.
24
25
You probably don't want to invoke this command directly; it is meant to
26
be used as a credential helper by other parts of Git. See