[英]git push, pull, clone with no response
When I run git push
, pull
, clone
none of them works. 当我运行
git push
, pull
, clone
它们都不起作用。
I get following error when i'm trying to push or pull or clone a repository 当我尝试推或拉或克隆存储库时出现以下错误
fatal: unable to access ' https://github.com/myUsername/myRepo/ ': Operation timed out after 0 milliseconds with 0 out of 0 bytes received
致命:无法访问“ https://github.com/myUsername/myRepo/”:0毫秒后操作超时,收到0字节中的0字节
What can cause such an issue? 什么会引起这样的问题? Where and what should I check to find out what is causing this problem?
我应该在哪里和什么地方进行检查,以找出导致此问题的原因?
You are cloning the wrong url. 您正在克隆错误的URL。 Git repo urls are in the form of:
Git回购网址的形式为:
https://github.com/username/repository.git
With that url you are trying to clone the repository public (or private, depending on your account) front page. 使用该URL,您尝试克隆存储库的公共(或私有,取决于您的帐户)首页。
它应该像下面这样:
git clone https://github.com/myUsername/myRepo.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.