

http代理配置:
export HTTP_PROXY=http://127.0.0.1:1080
export HTTPS_PROXY=http://127.0.0.1:1080
git代理配置:
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
所有的http://127.0.0.1:1080换成你代理地址
输出代理:
echo $HTTPS_PROXY
echo $HTTP_PROXY
git代理清除:
git config --global --unset http.proxy
git config --global --unset https.proxy