搜索
 找回密码
 立即注册

为你的git设置代理,轻松解决10KB/S困扰

喜合 2023-06-06 22:03 206
话不多说,直接上菜:


设置http、https代理
  1. git config --global http.proxy socks5://127.0.0.1:1080
  2. git config --global https.proxy socks5://127.0.0.1:1080
复制代码

查看http、https代理配置情况
  1. git config --global --get http.proxy
  2. git config --global --get https.proxy
复制代码

取消http、https代理配置
  1. git config --global --unset http.proxy
  2. git config --global --unset https.proxy
复制代码



随机推荐

0 回复

游客
高级模式
作者最近主题
    返回顶部