git代理设置http socks5
git代理设置方法解决
npm 访问github失败 可以使用下列方法设置代理
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git delete proxy
git config --global --unset http.proxy
git config --global --unset https.proxy
socks5 代理方式
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
# 如果提示失败
git clone https://github.com/xxxxxx
git clone https://ghproxy.com/https://github.com/xxxxxx