How to avoid Git keep asking username and password in OSX?

Edit


You can avoid Git keep asking username and password in OSX by Caching your GitHub password in Git

You need to Tell Git to use osxkeychain using the global credential.helper config:

git config --global credential.helper osxkeychain
# Set git to use the osxkeychain credential helper

NOTE:
  • You need Git 1.7.10 or newer to use the credential helper.
  • If you installed Git using Homebrew, the osxkeychain helper may already be installed.

If the above command gives you error, please follow this link to install appropriate tools 

How to avoid Git keep asking username and password in OSX? How to avoid Git keep asking username and password in OSX? Reviewed by DF on 7:28:00 PM Rating: 5
©DF. Powered by Blogger.