[英]Tackling a network issue with git clone --recursive
我无法使用子模块克隆git存储库。
$ git clone-递归https://www.github.com/lagadic/visp_auto_tracker.git
克隆到'visp_auto_tracker'...
远程:计数对象:275,已完成。
remote:压缩对象:100%(222/222),已完成。
远程:总计275(增量154),已重用157(增量42)
接收对象:100%(275/275),44.52 KiB,已完成。
解析增量:100%(154/154),已完成。
已为路径“ flashcode_mbt”注册的子模块“ flashcode_mbt”(git://github.com/lagadic/flashcode_mbt.git)
克隆到“ flashcode_mbt” ...
致命的:无法连接到github.com:
github.com [0:192.30.252.131]:errno =连接超时
将'git://github.com/lagadic/flashcode_mbt.git'克隆到子模块路径'flashcode_mbt'失败。
在UbuntuLTS12.04 git版本1.7.9.5以及Fedora17 git版本1.7.11.7上会发生这种情况。
似乎肯定是网络问题。 因为我要求其他网络上的其他用户执行此操作,所以它可以正常工作。 你们中有人遇到过类似的问题吗? 谢谢你的帮助。
您最有可能需要打开端口9418
进行TCP输入/ TCP输出
您还可能需要使用git config --global user.name <your_name>
您的名称git config --global user.name <your_name>
来设置全局用户git config --global user.name <your_name>
如果尚未设置)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.