2013-10-02 41 views
0

我无法克隆与子模块的git存储库。解决与git克隆的网络问题 - 递归

$ git的克隆--recursive https://www.github.com/lagadic/visp_auto_tracker.git

克隆到 'visp_auto_tracker' ...
远程:计数目标:275,完成。
remote:压缩对象:100%(222/222),完成。
远程:总共275(delta 154),重用157(delta 42)
接收对象:100%(275/275),44.52 KiB,完成。
解决三角洲:100%(154/154),完成。
子模块 'flashcode_mbt'(GIT://github.com/lagadic/flashcode_mbt.git)为路径 'flashcode_mbt'
克隆到 '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版本上。

这似乎确实是一个网络问题。因为我要求不同网络上的其他用户这样做,并且它工作正常。你们中的任何人都面临类似的问题?谢谢你的帮助。

回答

0

很可能需要在/ TCP了打开端口9418为TCP

您可能还需要使用git config --global user.name <your_name>如果您还没有设置您的全局用户。

+0

确实是9418。很可能它与用户名无关 – hAcKnRoCk