美文网首页
Clone failed: Authentication fai

Clone failed: Authentication fai

作者: Mrc_c1ef | 来源:发表于2019-04-15 14:13 被阅读0次

第一:查看是否有权限

第二:原因:因为在这个电脑上没有配置自己的用户名和邮箱,但之前默认已经配置了,所以要更改之前的配置

解决方案:在命令行里输入 git config --system --unset credential.helper  回车

然后在 git clone 加 url  ,就会提示让你输入用户名和密码

配置用户名和邮箱 :git config --global user.name "xxx"

git config --global user.email "xxx@xxx.com"

相关文章

网友评论

      本文标题:Clone failed: Authentication fai

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