Git Proxy

From ElectroDragon Wiki
Revision as of 17:03, 24 May 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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