Git Proxy

From ElectroDragon Wiki

Proxy

for ss socks5, use git config --global http.proxy socks5://127.0.0.1:1080

for ss socks5, use git config --global https.proxy socks5://127.0.0.1:1080

  • npm config delete proxy

Clash


list and unset

  • git config --global --unset http.proxy
  • git config --global --unset https.proxy
  • git config -l