天天看點

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. 重新克隆即可