Git:
export http_proxy=http://yourproxyaddress:proxyport
终端直接输入: sudo gedit ~/.subversion/servers 在打开的文本编辑器中找到 [global] 修改 # http-proxy-host = defaultproxy.whatever.com # http-proxy-port = 7000 # http-proxy-username = defaultusername # http-proxy-password = defaultpassword # http-compression = no 修改成需要代理里IP 端口 用户名 密码
原文地址:http://blog.csdn.net/yamingwu/article/details/44340145