# 设置ss
git config --global http.proxy 'socks5://127.0.0.1:1080'

git config --global https.proxy 'socks5://127.0.0.1:1080'

# 设置代理
git config --global https.proxy http://127.0.0.1:1080

git config --global https.proxy https://127.0.0.1:1080

# 取消代理
git config --global --unset http.proxy

git config --global --unset https.proxy

相关文章:

  • 2022-02-08
  • 2021-06-07
  • 2021-12-10
  • 2022-01-22
  • 2022-02-03
  • 2021-09-25
  • 2022-02-21
猜你喜欢
  • 2022-01-02
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案