克隆git仓库失败 [英] Cloning git repository Failure
本文介绍了克隆git仓库失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试从存储库中克隆以下内容时:
When i try to clone following from repository:
git clone git://gitorious.org/qt/qt5.git qt5
我遇到此错误:
fatal: Unable to look up gitorious.org (port 9418) (This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. )
出什么问题了?
我的网络使用代理的另一件事,我已经设置了它:
another thing that my network use proxy and i have already set it:
git config --global http.proxy http://192.168.0.7:8080
推荐答案
首先尝试使用https地址,而不要使用git(需要特殊端口)
Try first with an https address, rather than the git one (which needs a special port)
https://git.gitorious.org/qt/qt5.git
替代方案可能很复杂(例如 ssh端口转发)
The alternative can be complex (like ssh port forwarding)
这篇关于克隆git仓库失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文