设置ss
git config --global http.proxy socks5://127.0.0.1:port
git config --global https.proxy socks5://127.0.0.1:port
设置http代理
git config --global http.proxy http://127.0.0.1:port
git config --global https.proxy https://127.0.0.1:port
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
转载自:https://www.cnblogs.com/xueweihan/p/7242577.html
1.如需转载本站原创文章,请务必注明文章出处并附上链接,非常感谢。
2.本站用于记录个人 工作、学习、生活,非商业网站,更多信息请 点击这里