This page says to set |$http_proxy| (lower case):
http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy
On 10/6/11 1:40 AM, Bill Shannon wrote:
> Ryan Lubke wrote on 10/05/2011 07:10 PM:
>> On 10/5/11 11:32 AM, Bill Shannon wrote:
>>> Fortunately, git is in the Solaris 11 package repository.
>>>
>>> Unfortunately, it doesn't seem to be working. Do I need to do
>>> something
>>> special to teach it about the http proxy?
>>>
>>> $ git clone git://java.net/grizzly~git grizzly
>>> Cloning into grizzly...
>>> java.net[0: 192.9.164.103]: errno=Connection timed out
>>> fatal: unable to connect a socket (Connection timed out)
>> Try: /git/config --global/http/./proxy/[hostname:port]
> Nope.
>
> I tried both
>
> git config --global http.proxy www-proxy.us.oracle.com:80
>
> and
>
> git config --global http.proxy http://www-proxy.us.oracle.com:80/
>
> Neither worked.
>
> Don't I need to use an http: URL with git clone?
>
--
Jason Lee
Senior Member of Technical Staff, Oracle
GlassFish Team
Phone +1 (405) 216-3193
http://blogs.steeplesoft.com