Caching GitHub credentials

less than 1 minute read

Following steps from the GitHub guide to Caching your GitHub password in Git:

Turn on the credential helper so that Git will save your password in memory for some time. By default, Git will cache your password for 15 minutes. To change the default password cache timeout to one hour, enter the following:

~/.../failbetter/$ git config --global credential.helper 'cache --timeout=3600'

Tags: ,