公司的代码在github,jenkins在阿里云 打包速度太慢了,有时完全连接不上
在美国机房买vps 搭建shadowsocks
在阿里云机房设置客户端
sslocal -s <美国IP> -p <美国端口> -k <密码> -m <加密方式> -l <本地端口>
在git config全局配置代理端口
git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
取消git config配置:
git config --global http.proxy ""
git config --global https.proxy ""
网友评论