{"thread":{"id":"22302","subject":"how to clone from github behindd a proxy?","startedAt":"2010-01-20T09:29:16Z","lastAt":"2010-01-21T00:54:27Z","messageCount":2,"participants":["Tim Michelsen","Tay Ray Chuan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"132184","messageId":"loom.20100120T102323-689@post.gmane.org","threadId":"22302","inReplyTo":null,"subject":"how to clone from github behindd a proxy?","fromName":"Tim Michelsen","fromEmail":"timmichelsen@gmx-topmail.de","sentAt":"2010-01-20T09:29:16Z","receivedAt":"2010-01-20T09:29:16Z","isPatch":false,"sender":{"key":"timmichelsen@gmx-topmail.de","avatar":null},"body":"Hello,\nI tried to clone from behind a proxy firewall.\n\nIt doesn't work.\n\nHow shall I improve?\n\nset GIT_CURL_VERBOSE=1\n\ngit config --global http.proxy proxy.example.com:8000\n\ngit clone http://github.com/rwl/traitsbackendpyjamas\nInitialized empty Git repository in D:\\sourcecode/traitsbackendpyjamas/.git/\n* Couldn't find host github.com in the _netrc file; using defaults\n* About to connect() to proxy proxy.example.com on port 8000 (#0)\n*   Trying 149.233.100.7... * Connected to proxy.example.com (149.233.100.7)\nport 8000 (#0)\n GET http://github.com/rwl/traitsbackendpyjamas/info/refs HTTP/1.1\nUser-Agent: git/1.6.5.1.1366.g8ed9\nHost: github.com\nAccept: */*\nProxy-Connection: Keep-Alive\nPragma: no-cache\n\n* The requested URL returned error: 404\n* Closing connection #0\nfatal: http://github.com/rwl/traitsbackendpyjamas/info/refs not found: did you\nrun git update-server-info on the server?\n\nThanks in advance,\nTimmie\n"},{"id":"132250","messageId":"be6fef0d1001201654s78ba4e95r59754dd2645f587@mail.gmail.com","threadId":"22302","inReplyTo":"loom.20100120T102323-689@post.gmane.org","subject":"Re: how to clone from github behindd a proxy?","fromName":"Tay Ray Chuan","fromEmail":"rctay89@gmail.com","sentAt":"2010-01-21T00:54:27Z","receivedAt":"2010-01-21T00:54:27Z","isPatch":false,"sender":{"key":"rctay89@gmail.com","avatar":"https://avatars.githubusercontent.com/u/61553?v=4"},"body":"Hi,\n\nOn Wed, Jan 20, 2010 at 5:29 PM, Tim Michelsen\n<timmichelsen@gmx-topmail.de> wrote:\n> git clone http://github.com/rwl/traitsbackendpyjamas\n> Initialized empty Git repository in D:\\sourcecode/traitsbackendpyjamas/.git/\n> * Couldn't find host github.com in the _netrc file; using defaults\n> * About to connect() to proxy proxy.example.com on port 8000 (#0)\n> *   Trying 149.233.100.7... * Connected to proxy.example.com (149.233.100.7)\n> port 8000 (#0)\n>  GET http://github.com/rwl/traitsbackendpyjamas/info/refs HTTP/1.1\n> User-Agent: git/1.6.5.1.1366.g8ed9\n> Host: github.com\n> Accept: */*\n> Proxy-Connection: Keep-Alive\n> Pragma: no-cache\n>\n> * The requested URL returned error: 404\n> * Closing connection #0\n> fatal: http://github.com/rwl/traitsbackendpyjamas/info/refs not found: did you\n> run git update-server-info on the server?\n\nthis isn't a problem with your proxy - git connects to your proxy fine.\n\nThe problem is that the info/refs file isn't found at the repo URL you\nspecified.\n\nI think for github repos, you need to put a \".git\" behind the url, so\nyou should try cloning from\n\n  http://github.com/rwl/traitsbackendpyjamas.git\n\ninstead.\n\n-- \nCheers,\nRay Chuan\n"}]}