Difference between revisions of "Git Proxy"
(No difference)
|
Latest revision as of 17:03, 24 May 2021
Proxy
- git config --global http.proxy http://127.0.0.1:1080
for ss socks5, use git config --global http.proxy socks5://127.0.0.1:1080
- git config --global https.proxy https://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
- git config --global http.proxy http://127.0.0.1:7890
- git config --global https.proxy http://127.0.0.1:7890
list and unset
- git config --global --unset http.proxy
- git config --global --unset https.proxy
- git config -l