aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-credential-cache.txt
diff options
context:
space:
mode:
authorM Hickford <mirth.hickford@gmail.com>2023-01-28 20:13:34 +0000
committerJunio C Hamano <gitster@pobox.com>2023-01-29 09:21:07 -0800
commit4f542975d1c0e78799359e1bd40e34972030a1cf (patch)
tree9021dc0107bbff80a1cd3aa83fdc939ac899e8e4 /Documentation/git-credential-cache.txt
parent844ede312b4e988881b6e27e352f469d8ab80b2a (diff)
downloadgit-4f542975d1c0e78799359e1bd40e34972030a1cf.tar.gz
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>
Diffstat (limited to 'Documentation/git-credential-cache.txt')
-rw-r--r--Documentation/git-credential-cache.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/git-credential-cache.txt b/Documentation/git-credential-cache.txt
index 432e159d95..f473994a86 100644
--- a/Documentation/git-credential-cache.txt
+++ b/Documentation/git-credential-cache.txt
@@ -14,10 +14,13 @@ git config credential.helper 'cache [<options>]'
DESCRIPTION
-----------
-This command caches credentials in memory for use by future Git
-programs. The stored credentials never touch the disk, and are forgotten
-after a configurable timeout. The cache is accessible over a Unix
-domain socket, restricted to the current user by filesystem permissions.
+This command caches credentials for use by future Git programs.
+The stored credentials are kept in memory of the cache-daemon
+process (instead of written to a file) and are forgotten after a
+configurable timeout. Credentials are forgotten sooner if the
+cache-daemon dies, for example if the system restarts. The cache
+is accessible over a Unix domain socket, restricted to the current
+user by filesystem permissions.
You probably don't want to invoke this command directly; it is meant to
be used as a credential helper by other parts of Git. See