[英]git clone stuck on HTTP
I am trying to check out a repository from Github, I can use the git:// protocol, but not the http:// protocol. 我正在尝试从Github签出一个存储库,我可以使用git://协议,但不能使用http://协议。 I would type
git clone http://github.com/ajaxorg/cloud9.git
and it would get stuck on cloning into cloud9
Does anyone know what's wrong? 我会输入
git clone http://github.com/ajaxorg/cloud9.git
,它会卡在cloning into cloud9
中。有人知道这是怎么回事吗?
Use https://
instead of http://
. 使用
https://
而不是http://
。
If that fails, try using something like strace
to figure out what action it's getting stuck on. 如果失败了,请尝试使用
strace
东西来找出它正在执行的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.