diff options
author | M Hickford <mirth.hickford@gmail.com> | 2022-11-09 16:11:13 (GMT) |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-11-10 02:28:53 (GMT) |
commit | f13c3f28e7e8959fa23958323458b7e4437f2dda (patch) | |
tree | 0150453b3f50e31e6139c6ba909eb7f5fdc16801 /Documentation | |
parent | 319605f8f00e402f3ea758a02c63534ff800a711 (diff) | |
download | git-f13c3f28e7e8959fa23958323458b7e4437f2dda.zip git-f13c3f28e7e8959fa23958323458b7e4437f2dda.tar.gz git-f13c3f28e7e8959fa23958323458b7e4437f2dda.tar.bz2 |
Documentation: increase example cache timeout to 1 hour
Previously, the example *decreased* the cache timeout compared to the
default, making it less user friendly.
Instead, nudge users to make cache more usable. Many users choose
store over cache.
https://lore.kernel.org/git/CAGJzqskRYN49SeS8kSEN5-vbB_Jt1QvAV9QhS6zNuKh0u8wxPQ@mail.gmail.com/
The default timeout remains 15 minutes. A stronger nudge would
be to increase that.
Signed-off-by: M Hickford <mirth.hickford@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-credential-cache.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-credential-cache.txt b/Documentation/git-credential-cache.txt index 0216c18..432e159 100644 --- a/Documentation/git-credential-cache.txt +++ b/Documentation/git-credential-cache.txt @@ -69,10 +69,10 @@ $ git push http://example.com/repo.git ------------------------------------ You can provide options via the credential.helper configuration -variable (this example drops the cache time to 5 minutes): +variable (this example increases the cache time to 1 hour): ------------------------------------------------------- -$ git config credential.helper 'cache --timeout=300' +$ git config credential.helper 'cache --timeout=3600' ------------------------------------------------------- GIT |