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
Родитель 35dc2cf03f f13c3f28e7
Коммит 3f98d7ab1b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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