mac os
export http_proxy=http://127.0.0.1:58591
export https_proxy=http://127.0.0.1:58591
linux
export http_proxy=http://127.0.0.1:58591
export https_proxy=http://127.0.0.1:58591
windows os 代理
set http_proxy=http://127.0.0.1:58591
set http_proxys=http://127.0.0.1:58591
git 设置代理
添加代理
git config --global http.proxy http://127.0.0.1:58591
git config --global https.proxy https://127.0.0.1:58591
删除代理
git config --global --unset http.proxy
git config --global --unset https.proxy