When I try to clone from git
git clone "http://github.com/symfony/symfony.git" "d:/www/a/vendor/symfony"
I get an error
Cloning into 'd:/www/a/vendor/symfony'... error: Couldn't resolve proxy '(null)' while accessing http://github.com/symfony/symfony.git/info/refs fatal: HTTP request failed
I'm connected directly to the internet (without proxy). I tried to turn off firewall and didn't help. I'm on windows and just installed Git-1.7.10-preview20120409.exe from http://code.google.com/p/msysgit/downloads/list . Previously I had 1.7.8 and this command worked. I also reinstalled TortoiseGit but I think it doesn't matter.
My C:\Documents and Settings\xxx\.gitconfig
file is
[http] proxy = [user] name = xxxx email = [email protected]
Setting the proxy for Gitgit config --global --add http. proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT. git config --global --add https. proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT.
The Solution Error: “Could not resolve proxy: https; Unknown error” explains that there is a syntax issue in /etc/sysconfig/rhn/up2date config file for proxy server. Change https to http and then retry the yum update.
Seems the problem is reported in the mailing list. Does this help?
git config --global --unset http.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