From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Christoph Bartoschek <bartoschek@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Setting http proxy and http password
Date: Mon, 22 Nov 2010 23:50:12 +0100 [thread overview]
Message-ID: <vpqeiadc6sb.fsf@bauges.imag.fr> (raw)
In-Reply-To: <o28rr7-5r4.ln1@homer.bruehl.pontohonk.de> (Christoph Bartoschek's message of "Mon\, 22 Nov 2010 23\:39\:52 +0100")
Christoph Bartoschek <bartoschek@gmx.de> writes:
> 1. How can I set the proxy that should be used for git commands? For
> externals pages I have a proxy. But for our git server no proxy should be
> used. How can I configure git to never use the proxy?
Search for proxy here:
http://www.kernel.org/pub/software/scm/git/docs/git-config.html
but I think the more or less standard $http_proxy environment variable
does the trick.
> 2. How can I have git remember the username and password for our git server?
Either use ~/.netrc (see
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt ),
or set the URL of the remote repo to
http(s)://user:password@server.com/path in .git/config (after
restricting read permissions on this file appropriately, of course).
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2010-11-22 22:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 22:39 Setting http proxy and http password Christoph Bartoschek
2010-11-22 22:50 ` Matthieu Moy [this message]
2010-11-22 23:32 ` Christoph Bartoschek
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=vpqeiadc6sb.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=bartoschek@gmx.de \
--cc=git@vger.kernel.org \
/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