[英]Cloning repositories from github fails
我无法从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;
;C:\\Program Files (x86)\\Git\\cmd; and C:\\Program Files (x86)\\Git\\bin;
id_rsa.pub
我已经看到所有相关链接,并且无法解决此问题。
如果您对ssh密钥有疑问,则至少可以将其用作替代方法https url :
git clone https://github.com/username/reponame
关于ssh,请确保:
环境变量HOME
已定义,您的私钥/公钥ssh密钥位于:
%HOME%\\.ssh\\id_rsa %HOME%\\.ssh\\id_rsa.pub
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.