I'm behind a proxy and have to clone repositories from GitHub.
Therefore my .gitconfig
file contains
[http]
proxy = http://my.proxy:8080
[https]
proxy = http://my.proxy:8080
This works great.
But what can I do if I want to clone a repo from a host inside my LAN, when I must not use the Proxy? In other words, I am searching for an exception rule like
[http "myhost"]
proxy =
Sidenote: I would prefer a Git config solution (when it's possible), since I am working with multiple operating systems (Windows 7, Windows 8, Ubuntu, SuSE Linux) and the solution should work everywhere.