blob: 19fbb6b93ca6a0983a9180a6ff25e16629e95944 [file] [log] [blame] [view]
---
title: GoGetProxyConfig
---
Setting proxies for source code used by ` go get ` (listed in GoGetTools)
## Windows command line
```
$ set http_proxy=http://proxy.example.com:port
```
## git
```
$ git config [--global] http.proxy http://proxy.example.com:port
```
## mercurial
Edit ` ~/.hgrc ` and add the following:
```
[http_proxy]
host=proxy.example.com:port
```
## svn
Edit ` ~/.subversion/servers ` and add the following:
```
[Global]
http-proxy-host=proxy.example.com
http-proxy-port=xxxx
```