1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > git clone报错:remote: The project you were looking for could not be found.

git clone报错:remote: The project you were looking for could not be found.

时间:2023-06-28 05:08:18

相关推荐

git clone报错:remote: The project you were looking for could not be found.

$ git clone http://xxxCloning into 'xxx'...remote: The project you were looking for could not be found.fatal: repository 'http://xxx' not found

原因:

1.git有记忆功能,记录了之前的认证信息

2.git记录的账号没有clone此项目的权限

解决方法总结如下:

1. 修改控制面板信任凭据

2. 卸载重装git credentials manager (亲测有效,推荐)

$ git credential-manager uninstall$ git credential-manager install

3. clone时带上用户名和密码

git clone http://username@xxxx/xxx/xxx.git

4. 以上方法都无效时,在浏览器中输入clone的地址,若不能访问,则说明无权限,不能clone

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。