ヒント - 遅いの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のプロジェクトへのリンクをコピーします

おすすめ

転載: www.cnblogs.com/JohnTsai/p/11483440.html