前提:有socks协议的代理
设置代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:10808
将10808
改为代理的端口
取消代理
git config --global --unset http.https://github.com.proxy
git config --global http.https://github.com.proxy socks5://127.0.0.1:10808
将10808
改为代理的端口
git config --global --unset http.https://github.com.proxy
小伙子来我们局里一趟