http://backlogtool.com/git-guide/cn/reference/trouble-shooting.html
HTTPS requires passwords every time you do push / pull, if you are Windows, only the first time
but on Mac, you can use the keychain authentication assistant. Users using Homebrew automatically install authentication assistants when installing Git. In addition, you need to install manually.
If you want to make sure that you have an installation certification assistant, you can use the following command to confirm.
git credential-osxkeychain
If the authentication assistant is not installed, the following content is displayed.
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
At this point, you can download the authentication assistant in the right way.
curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychainchmod u+x git-credential-osxkeychainmv git-credential-osxkeychain/usr/local/bin
After installation, install the open authentication assistant.
git config --global credential.helper osxkeychain
yz Strive Jun 27 '17 at 15:35 2017-06-27 15:35
source share