Skip to content

Instantly share code, notes, and snippets.

@vanpeerdevelopment
Last active January 4, 2016 20:29
Show Gist options
  • Save vanpeerdevelopment/8674392 to your computer and use it in GitHub Desktop.
Save vanpeerdevelopment/8674392 to your computer and use it in GitHub Desktop.
Command to cache your credentials in Git.
# The default cache timeout is 15 minutes
git config credential.helper cache
# With --timeout the cache timeout is configured to one hour
git config credential.helper "cache --timeout=3600"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment