git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to clone from github behindd a proxy?
@ 2010-01-20  9:29 Tim Michelsen
  2010-01-21  0:54 ` Tay Ray Chuan
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Michelsen @ 2010-01-20  9:29 UTC (permalink / raw)
  To: git

Hello,
I tried to clone from behind a proxy firewall.

It doesn't work.

How shall I improve?

set GIT_CURL_VERBOSE=1

git config --global http.proxy proxy.example.com:8000

git clone http://github.com/rwl/traitsbackendpyjamas
Initialized empty Git repository in D:\sourcecode/traitsbackendpyjamas/.git/
* Couldn't find host github.com in the _netrc file; using defaults
* About to connect() to proxy proxy.example.com on port 8000 (#0)
*   Trying 149.233.100.7... * Connected to proxy.example.com (149.233.100.7)
port 8000 (#0)
 GET http://github.com/rwl/traitsbackendpyjamas/info/refs HTTP/1.1
User-Agent: git/1.6.5.1.1366.g8ed9
Host: github.com
Accept: */*
Proxy-Connection: Keep-Alive
Pragma: no-cache

* The requested URL returned error: 404
* Closing connection #0
fatal: http://github.com/rwl/traitsbackendpyjamas/info/refs not found: did you
run git update-server-info on the server?

Thanks in advance,
Timmie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to clone from github behindd a proxy?
  2010-01-20  9:29 how to clone from github behindd a proxy? Tim Michelsen
@ 2010-01-21  0:54 ` Tay Ray Chuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tay Ray Chuan @ 2010-01-21  0:54 UTC (permalink / raw)
  To: Tim Michelsen; +Cc: git

Hi,

On Wed, Jan 20, 2010 at 5:29 PM, Tim Michelsen
<timmichelsen@gmx-topmail.de> wrote:
> git clone http://github.com/rwl/traitsbackendpyjamas
> Initialized empty Git repository in D:\sourcecode/traitsbackendpyjamas/.git/
> * Couldn't find host github.com in the _netrc file; using defaults
> * About to connect() to proxy proxy.example.com on port 8000 (#0)
> *   Trying 149.233.100.7... * Connected to proxy.example.com (149.233.100.7)
> port 8000 (#0)
>  GET http://github.com/rwl/traitsbackendpyjamas/info/refs HTTP/1.1
> User-Agent: git/1.6.5.1.1366.g8ed9
> Host: github.com
> Accept: */*
> Proxy-Connection: Keep-Alive
> Pragma: no-cache
>
> * The requested URL returned error: 404
> * Closing connection #0
> fatal: http://github.com/rwl/traitsbackendpyjamas/info/refs not found: did you
> run git update-server-info on the server?

this isn't a problem with your proxy - git connects to your proxy fine.

The problem is that the info/refs file isn't found at the repo URL you
specified.

I think for github repos, you need to put a ".git" behind the url, so
you should try cloning from

  http://github.com/rwl/traitsbackendpyjamas.git

instead.

-- 
Cheers,
Ray Chuan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-21  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20  9:29 how to clone from github behindd a proxy? Tim Michelsen
2010-01-21  0:54 ` Tay Ray Chuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).