Go Git brew 通过代理使用

2018-08-10  本文已影响0人  verge_l

1.git通过代理使用

~/.gitconfig
[http]
    proxy = socks5://127.0.0.1:8001
[https]
    proxy = socks5://127.0.0.1:8001

2.Golang通过代理使用

http_proxy=socks5://127.0.0.1:1086 go get -u -v  github.com/astaxie/beego

3.brew通过代理使用

ALL_PROXY=socks5://localhost:1086 brew install golang
上一篇 下一篇

猜你喜欢

热点阅读