Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 1 | Setting proxies for source code used by ` go get ` (listed in GoGetTools) |
2 | |||||
3 | ## git | ||||
4 | ``` | ||||
5 | $ git config [--global] http.proxy=http://proxy.example.com:port | ||||
6 | ``` | ||||
7 | |||||
8 | ## mercurial | ||||
9 | Edit ` ~/.hgrc ` and add the following: | ||||
10 | ``` | ||||
11 | [http_proxy] | ||||
12 | host=proxy.example.com:port | ||||
13 | ``` | ||||
14 | |||||
15 | ## svn | ||||
16 | Edit ` ~/.subversion/servers ` and add the following: | ||||
17 | ``` | ||||
18 | [Global] | ||||
19 | http-proxy-host=proxy.example.com | ||||
20 | http-proxy-port=xxxx | ||||
21 | ``` |