When trying to clone a github repository via a proxied connection, I get the following error:
Cannot get remote repository information. Perhaps git-update-server-info needs to be run there?
I tried to set env variables http_proxy and https_proxy, I also tried to run
git --global my.proxy.com:portbut it still doesn't work.
Any idea ?
I suspect that your version of git is too old - you need at least version 1.6.6 in order to use Smart HTTP. I thought that GitHub would fall back to the dumb HTTP protocol if the client couldn't do Smart HTTP, but in any case, upgrading your version of git should eliminate a number of possible problems.
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