git 代理相关

git config --global http.proxy 'http://192.168.0.1:1080'  //设置全局代理
git config --global https.proxy 'http://192.168.0.1:1080' 
git config --list  //查看配置
git config --global --edit //编辑全局
git config --global --unset http.proxy  //取消
git config --local --unset http.proxy

posted on 2023-03-17 20:22  WillingCPP  阅读(12)  评论(0)    收藏  举报

导航