Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Eclipse EGit to use custom proxy settings?

Tags:

git

eclipse

egit

I'm behind a corporate firewall, so most of the time (e.g. Eclipse updates) I want to be going through a proxy. However, the servers I pull from in Git are all internal. I currently have to change my proxy settings every time I switch, but I'd like to set it up so that EGit uses a direct connection.

My guess is that it's just not a feature EGit has, but can anyone think of a workaround maybe?

Thanks!

like image 462
robamaton Avatar asked Jul 07 '11 18:07

robamaton


1 Answers

EGit should follow the General > Network configuration settings.
If you set that Network mode to "Manual", you can:

  • set your proxy (with authentication)
  • add sites you want in "no_proxy" (in order to not try to contact a proxy)

This seems also valid for ssh protocol, as illustrated by bug 349702.

like image 181
VonC Avatar answered Oct 11 '22 01:10

VonC