git设置和取消代理

东明兄 2019-09-06
0条评论 1,729 次浏览
东明兄 2019-09-060条评论 1,729 次浏览

设置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

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注