git config --global credential.helper 'cache --timeout=300'See also http://git-scm.com/docs/git-credential-cache.
https://confluence.atlassian.com/display/STASH/Permanently+authenticating+with+Git+repositories
OS X
Follow these steps to use Git with credential caching on OS X:- Download the binary git-credential-osxkeychain.
- Run the command below to ensure the binary is executable:
chmod a+x git-credential-osxkeychain
- Put it in the directory /usr/local/bin.
- Run the command below:
git config --global credential.helper osxkeychain
No comments:
Post a Comment