问题描述
我在企业防火墙之后,所以大部分时间(例如Eclipse更新)我都想通过代理进行。但是,我从Git中获得的服务器都是内部的。我现在必须在每次切换时更改我的代理设置,但我想设置它以便EGit使用直接连接。
我的猜测是只是不是EGit的功能,但任何人都可以想到一个解决方法吗?
谢谢!
EGit应遵循常规>网络配置设置。
如果您将网络模式设置为手动,您可以:
这似乎也适用于ssh协议,如。
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!
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.
这篇关于如何配置Eclipse EGit以使用自定义代理设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!