查看git配置信息
git config --list
取消代理配置
#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy
如果还要继续设置代理,则
#http代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
#https代理
git config --global https.proxy 'socks5://127.0.0.1:1080'