I am getting a connection timeout error when I try to clone a Git repo via a proxy server.
git clone
http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git
Cloning into linux-2.6-imx...
error: Failed connect to opensource.freescale.com:8080; Connection timed out while accessinghttp://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git/info/refs
fatal: HTTP request failed
I used corkscrew and set my git proxy to the server address and port. How else can I download or clone a Git repo over proxy?
you do not need corkscrew for accessing a http repo behind a proxy server.
set the environment variable http_proxy
export http_proxy=http://<proxy>:<port>/
and then git will use the http proxy
see also http://roshansingh.wordpress.com/2008/08/29/using-git-behind-proxy/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With