当前位置:   article > 正文

git拉取代码报The project you were looking for could not be found or you don‘t have permission to view it.

git拉取代码报The project you were looking for could not be found or you don‘t have permission to view it.
问题描述:

我在使用git clone项目,出现The project you were looking for could not be found or you don't have permission to view it.的报错情况,使用git config user.name 和git config user.email 切换后也不行

原因:

git自动保存了用户名密码,当前项目的用户名密码与之前的发生冲突。

解决方案:

清除本地git账户,重新输入用户名与密码。

        git config --system --unset  credential.helper

之后再进行git操作时,弹出用户名密码窗口,输入即可。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/667553
推荐阅读
相关标签
  

闽ICP备14008679号