git配置代理
- 设置socks代理
git config --global http.proxy 'socks5://127.0.0.1:1080'git config --global https.proxy 'socks5://127.0.0.1:1080'- 设置https代理
git config --global https.proxy http://127.0.0.1:1080git config --global https.proxy https://127.0.0.1:1080 - 取消代理
git config --global --unset http.proxygit config --global --unset https.proxy
Written on June 24, 2022
