设置github的项目git命令走sock代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086(sock端口号)
取消代理
git config --global --unset http.https://github.com.proxy
前に設定します。
設定した後:
PS:SSHの代わりにhttpsを使用するためにgithubのプロジェクトへのリンクをコピーします
设置github的项目git命令走sock代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086(sock端口号)
取消代理
git config --global --unset http.https://github.com.proxy
前に設定します。
設定した後:
PS:SSHの代わりにhttpsを使用するためにgithubのプロジェクトへのリンクをコピーします