全局代理查看与设置
env|grep -i proxy
export http_proxy=""
export https_proxy=""
export HTTP_PROXY=""
export HTTPS_PROXY=""
设置git代理
git config --global https.proxy <Your http proxy server>
git config --global http.proxy <Your http proxy server>
[http]
proxy = <Your http proxy server>
[https]
proxy = <Your http proxy server>
Git代理设置
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global http.https://github.com.proxy http://127.0.0.1:1080
git config --global https.https://github.com.proxy https://127.0.0.1:1080