Cloning git repository Failure

2020-06-03 08:51发布

问题:

When i try to clone following from repository:

git clone git://gitorious.org/qt/qt5.git qt5

i'm getting this error:

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. )

What's the problem?

another thing that my network use proxy and i have already set it:

 git config --global http.proxy http://192.168.0.7:8080

回答1:

Try first with an https address, rather than the git one (which needs a special port)

https://git.gitorious.org/qt/qt5.git

The alternative can be complex (like ssh port forwarding)