Git只对Github使用代理


设置:

git config --global http.https://github.com.proxy http://127.0.0.1:10808
git config --global https.https://github.com.proxy http://127.0.0.1:10808

取消:

git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy