51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

为git设置网络代理

设置http、https代理

git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080

查看http、https代理配置情况

git config --global --get http.proxy
git config --global --get https.proxy

取消http、https代理配置

git config --global --unset http.proxy
git config --global --unset https.proxy

标签: http代理

赞(5)
未经允许不得转载:工具盒子 » 为git设置网络代理