From: Jeff King <peff@peff.net>
To: Yves Blusseau <yves.blusseau@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Using socks proxy with git for http(s) transport
Date: Wed, 6 Mar 2013 03:21:16 -0500 [thread overview]
Message-ID: <20130306082110.GA31638@sigill.intra.peff.net> (raw)
In-Reply-To: <CABmRxH1g2BR+-MvGZ4J-2vC8NDq3x8pG148hXfuYTpUkX0L=0A@mail.gmail.com>
On Wed, Mar 06, 2013 at 09:12:30AM +0100, Yves Blusseau wrote:
> i have a socks proxy to access internet.
> I successed in configuring git (with GIT_PROXY_COMMAND) to use the
> socks proxy for GIT transport protocol.
> But how to use this socks proxy with git for HTTP(S) transport protocol ?
Try:
git config --global http.proxy 'socks://yourhost:port'
That will enable it for all git repositories on your machine. Git should
also respect any environment variables that curl handles (because we use
libcurl under the hood), if you prefer to set it up that way. See "man
curl" for details.
-Peff
next prev parent reply other threads:[~2013-03-06 8:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 8:12 Using socks proxy with git for http(s) transport Yves Blusseau
2013-03-06 8:21 ` Jeff King [this message]
2013-03-06 9:21 ` Yves Blusseau
2013-03-06 9:45 ` Jeff King
2013-03-06 10:09 ` Yves Blusseau
2013-03-06 10:39 ` Daniel Stenberg
2013-03-06 9:35 ` Yves Blusseau
2013-06-15 19:55 ` SSL socks proxy list: CONNECTABLE 100% ciorapalb100
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130306082110.GA31638@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=yves.blusseau@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).