Reputation: 18670
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 ?
Upvotes: 3
Views: 2755
Reputation: 467231
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.
Upvotes: 3