Git只对Github使用代理


记录一下,Github的SB速度什么时候能改…

设置:

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

取消:

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