根据本地代理模式选择
- socks代理模式设置
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
http代理模式设置
git config --global http.proxy 'http://127.0.0.1:1080' git config --global https.proxy 'https://127.0.0.1:1080'