blob: 63ecdc5a58819c9977faad8bfc0ebf40b3c89e27 [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
```