欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-04-28 12:46:15
...

git克隆时报错 The project you were looking for could not be found

  • 问题描述:
  • git拉取报错:

    remote: The project you were looking for could not be found.

    fatal:repository ……  not found
    

原因分析:
之前登陆过别人的git账号,记录下了认证信息
解决方法汇总:

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

  2. 卸载重装git credentials manager


$ git credential-manager uninstall
 
$ git credential-manager install
  1. clone时带上用户名和密码(无效)
     git clone http://username:[email protected]/xxx/xxx.git

推荐第二种