git/list[1] front-page[2] threads[3] people[4] search[5] about
 

how to clone from github behindd a proxy?

From
TMTim Michelsen <timmichelsen@gmx-topmail.de>
Date
Jan 20, 2010, 09:29 UTC
Message-ID
<loom.20100120T102323-689@post.gmane.org>

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

Next: Tay Ray Chuan
Message 1 of 2 in “how to clone from github behindd a proxy?”
  1. Tim MichelsenJan 20, 2010
  2. Tay Ray ChuanJan 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.