Merge branch 'mh/increase-credential-cache-timeout'

Update the credential-cache documentation to provide a more realistic
example.

* mh/increase-credential-cache-timeout:
  Documentation: increase example cache timeout to 1 hour
This commit is contained in:
Taylor Blau 2022-11-18 18:43:55 -05:00
commit 3f98d7ab1b

View File

@ -69,10 +69,10 @@ $ git push http://example.com/repo.git
------------------------------------ ------------------------------------
You can provide options via the credential.helper configuration 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 GIT