我无法从github克隆任何存储库。我总是收到此错误消息
fatal: Could not read from remote repository. Please make sure you have the
correct access rights and the repository exists
我已经处理了以下事项:
;C:\Program Files (x86)\Git\cmd; and C:\Program Files (x86)\Git\bin;
id_rsa.pub
与git 我看过所有相关链接,无法解决此问题。
答案 0 :(得分:0)
如果您遇到ssh密钥问题,至少可以将其用作解决方法https url:
git clone https://github.com/username/reponame
关于ssh,请确保:
定义了环境变量HOME
,并且您的私有/公共ssh密钥位于:
%HOME%\.ssh\id_rsa
%HOME%\.ssh\id_rsa.pub