GIT Proxies

GIT is a useful tool for SCM but can be a bit confusing to setup if you are unfamiliar with it.

proxies
First, set your proxies in your shell.

export http_proxy=http:// : export no_proxy=

Where is the name of you proxy server and is your local domain which doesn't get proxied.

.gitconfig
If you are in a development environment where you have multiple git sites with some behind firewalls and others not, there is a way to edit your global .getconfig so that GIT will be able to access all of them.

Here's an example of such a .gitconfig

.gitconfig  ... [user] name = email = [core] gitproxy = none for  gitproxy =  for 

... .gitconfig

Where  could be "kernel.org" or "dev.omapzoom.org" or your local domain in the case of none. This allows you to have local git repos and remote git repos work identically. If you need the proxy for everything but the local domain, use gitproxy = none for gitproxy = 