文章目录
// git 的代理配置
// 取消全局代理
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:8888
git config --global https.https://github.com.proxy https://127.0.0.1:8888
// terminal 的代理配置
export http_proxy="http://127.0.0.1:8888"; export HTTP_PROXY="http://127.0.0.1:8888"; export https_proxy="https://127.0.0.1:8888"; export HTTPS_PROXY="https://127.0.0.1:8888"; export all_proxy=socks5://127.0.0.1:1088