美文网首页
mac 下git fetch操作提示输入账号密码

mac 下git fetch操作提示输入账号密码

作者: 贪得_3440 | 来源:发表于2019-05-09 18:53 被阅读0次

mac会自带credential-osxkeychain

通常情况来讲,通过keychain的辅助输入可以解决这个问题:

git config --global credential.helper osxkeychain

但是如果使用了以上指令还是没有效果,可能是因为系统设置了禁用Keychain机制

此时可以通过以下指令解决:

git config --global credential.helper cache

git config --global credential.helper store

相关文章

网友评论

      本文标题:mac 下git fetch操作提示输入账号密码

      本文链接:https://www.haomeiwen.com/subject/duugoqtx.html