Git works in a proxied environment by setting the http.proxy configuration parameter.
For certain addresses I need to bypass the proxy. Is there a no-proxy/bypass-p
To bypass proxy for certain, usually a local address, all you need to do is:
export no_proxy=URLToIgnore
Where URLToIgnore
is the URL that you want Git
to ignore.
You can also ignore URLs ending with a certain word.
export no_proxy=.mylocal
Where all urls ending with .mylocal
will get ignored. To ignore multiple URLs:
export no_proxy=.mylocal URLToIgnore
To make it permanent, add it to your ~/username/.bash_profile
file. If you cannot find .bash_profile
file in your user root directory, then manually create it.
For more details: How to temporarily disable git http proxy