-
-
Save jredville/2978519 to your computer and use it in GitHub Desktop.
git https
This file contains 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
With git 1.7.9 or later, you can just do: | |
git config --global credential.helper cache | |
... which tells git to keep your password cached in memory for (by default) 15 minutes. You can set a longer timeout with: | |
git config credential.helper 'cache --timeout=3600' | |
(That example is suggested in the GitHub help page for Linux.) GitHub's help also suggests that if you're on Mac OS and used homebrew to install git, you can use the native Mac OS keystore with: | |
git config --global credential.helper osxkeychain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment