Last active
July 12, 2017 17:08
-
-
Save pfrozi/49437f400fc7d363c1af6dc2057e5421 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git config --global credential.helper cache | |
# Set git to use the credential memory cache | |
git config --global credential.helper 'cache --timeout=7200' | |
# Set the cache to timeout after 1 hour (setting is in seconds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment