If you're cloning GitHub repositories using HTTPS, you can use a credential helper to tell Git to remember your GitHub username and password every time it talks to GitHub.
If you clone GitHub repositories using SSH, then you authenticate using SSH keys instead of a username and password. For help setting up an SSH connection, see Generating SSH Keys.
Tip: You need Git 1.7.10 or newer to use the credential helper.
Turn on the credential helper so that Git will save your password in memory for some time. By default, Git will cache your password for 15 minutes.
-
In Terminal, enter the following:
git config --global credential.helper cache # Set git to use the credential memory cache
-
To change the default password cache timeout, enter the following:
git config --global credential.helper 'cache --timeout=3600' # Set the cache to timeout after 1 hour (setting is in seconds)
Revisions
- February 27, 2015 @ 11:14:36 [Current Revision] by admin
- February 27, 2015 @ 11:14:36 by admin
- February 27, 2015 @ 11:14:20 by admin
- February 27, 2015 @ 11:13:39 by admin
- February 27, 2015 @ 11:13:07 by admin
Revision Differences
There are no differences between the February 27, 2015 @ 11:14:36 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.