流沙团
git配置本地代理
2023-9-7 流沙团

局部代理

http:
git config --local http.proxy 127.0.0.1:7890

https:
git config --local https.proxy 127.0.0.1:7890

全局代理

http:
git config --global http.proxy 127.0.0.1:7890

https:
git config --global https.proxy 127.0.0.1:7890

去掉代理

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

网络问题

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容