为go get 设置代理

Setting proxies for source code used by go get (listed in GoGetTools)

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 
打赏作者

您的支持将鼓励我们继续创作!

[微信] 扫描二维码打赏

[支付宝] 扫描二维码打赏

Leave a Reply

Your email address will not be published. Required fields are marked *