Clone 太慢,怎么解决 GitHub # git config --global http.proxy http://127.0.0.1:1081# git config --global https.proxy https://127.0.0.1:1081# 实测后用下面这条就能实现加速 clone 的效果且能避开一些设置证书的坑git config --global http.proxy 127.0.0.1:1081全局# git config --local http.proxy http://127.0.0.1:1081# git config --local https.proxy https://127.0.0.1:1081# 实测后用下面这条就能实现加速 clone 的效果且能避开一些设置证书的坑git config --local http.proxy 127.0.0.1:1081本地只对海外有影响不影响国内git config --global http.https://github.com.proxy https://127.0.0.1:1081git config --global https.https://github.com.proxy https://127.0.0.1:1081# 实测后用下面这条就能实现加速 clone 的效果且能避开一些设置证书的坑git config --global http.https://github.com.proxy 127.0.0.1:1081查询 —— 全局git config --global http.proxygit config --global https.proxy查询 —— 局部git config --local http.proxygit config --local https.proxy查询只对 GitHubgit config --global http.https://github.com.proxygit config --global https.https://github.com.proxy取消git config --global --unset http.proxygit config --global --unset https.proxy取消git config --local --unset http.proxygit config --local --unset https.proxy取消git config --global --unset http.https://github.com.proxygit config --global --unset https.https://github.com.proxy---备注 1081 —— 该你的端口号