为什么github总提示输入用户名和密码,如何修改

git credential-osxkeychain# Test for the cred helper
# git: 'credential-osxkeychain' is not a git command. See 'git --help'.

curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain# Download the helper

chmod u+x git-credential-osxkeychain# Fix the permissions on the file so it can be run

sudo mv git-credential-osxkeychain /usr/local/bin# Move the file so git can access it
# Password: [enter your password]

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



https://help.github.com/articles/set-up-git#password-caching

你可能感兴趣的:(git,credential,osxkeychain)