Skip to content

Instantly share code, notes, and snippets.

@zrod
Last active December 15, 2015 01:19
Show Gist options
  • Save zrod/5179341 to your computer and use it in GitHub Desktop.
Save zrod/5179341 to your computer and use it in GitHub Desktop.
Git credentials
(1.7.9+)
Stores password in cache for 15 minutes (default):
git config --global credential.helper cache
Define custom timeout:
git config credential.helper 'cache --timeout=3600'
OS Keystore:
git config --global credential.helper osxkeychain
Windows:
https://help.github.com/articles/set-up-git#password-caching
More @ https://www.kernel.org/pub/software/scm/git/docs/git-credential-store.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment