天天看点

fatal: Could not read from remote repository.Please make sure you have the correct access rights and问题原因:解决

问题

克隆

github

项目时,出现如下错误

fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
           

原因:

使用了proxy代理

解决

  1. 取消代理(关闭梯子)
  2. 并通过如下

    git

    命令取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
           
  1. 重新克隆即可