mac下使用brew和crul访问GitHub等网站速度慢等问题

设置代理:git config --global https.proxy http://127.0.0.1:1080

设置代理:git config --global https.proxy https://127.0.0.1:1080

取消代理:git config --global --unset http.proxy

              git config --global --unset https.proxy

sockt5代理设置

设置命令

git config --global http.proxy socks5://your-server:your-port

取消设置

git config --global --unset http.proxy

查看代理

git config --global --get http.proxy

veee的代理端口一般是:http 15236
sockt5 15235

你可能感兴趣的:(mac下使用brew和crul访问GitHub等网站速度慢等问题)