侧边栏壁纸
博主头像
Wood Chen博主等级

独唱独酬,独行独坐还独卧

  • 累计撰写 207 篇文章
  • 累计创建 126 个标签
  • 累计收到 6 条评论

目 录CONTENT

文章目录

git提交代码失败,网络连接失败

wood
2023-07-06 / 0 评论 / 0 点赞 / 12 阅读 / 567 字

这里提供的方法是让git也使用网络代理

解决办法

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

删除配置

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

设置全局username和useremail

git config --global user.name wood
git config --global user.email [email protected]
0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区