Git设置http代理

1.设置代理

git config --global http.proxy 'http://127.0.0.1:7890' 
git config --global https.proxy 'http://127.0.0.1:7890'

2.查看代理

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

3.取消代理

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

相关推荐

微信扫一扫,分享到朋友圈

Git设置http代理
返回顶部

显示

忘记密码?

显示

显示

获取验证码

Close