git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
如果要恢復(fù)/移除上面設(shè)置的git代理,使用如下命令
git config --global --unset http.proxy
git config --global --unset http.https://github.com.proxy
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
如果要恢復(fù)/移除上面設(shè)置的git代理,使用如下命令
git config --global --unset http.proxy
git config --global --unset http.https://github.com.proxy