# 查看认证的helper git config --get-all --show-origin credential.helper # 查看某个认证的helper git config --show-origin --get credential.helper # 清除设置 git config --local --unset credential.helper git config --global --unset credential.helper git config --system --unset credential.helper # 改成使用store/cache/osxkeychain三个方式中的一种 git config --global credential.helper store