Re: Setting http proxy and http password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Bartoschek <bartoschek@xxxxxx> 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@xxxxxxxxxx/path in .git/config (after
restricting read permissions on this file appropriately, of course).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]