blob: 846e687bc5f26d6c4419a441bce2f471f70e1ae7 [file] [log] [blame] [view]
Andrew Gerrand5bc444d2014-12-10 11:35:11 +11001Setting proxies for source code used by ` go get ` (listed in GoGetTools)
2
3## git
4```
Baofeng Xue672086a2015-03-31 21:18:04 +08005$ git config [--global] http.proxy http://proxy.example.com:port
Andrew Gerrand5bc444d2014-12-10 11:35:11 +11006```
7
8## mercurial
9Edit ` ~/.hgrc ` and add the following:
10```
11[http_proxy]
12host=proxy.example.com:port
13```
14
15## svn
16Edit ` ~/.subversion/servers ` and add the following:
17```
18[Global]
19http-proxy-host=proxy.example.com
20http-proxy-port=xxxx
21```