WIN 2019年7月31日

解决国内github下载速度过慢

诸 诸天无道 约 1 分钟 2218 次阅读

不知道为什么,最近修改本地hosts方式也不能加速github下载,很忧伤

现改用ss本地代理,此方法要注意使用完成后手动清除全局代理

git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080

用完记得关上,不然内网的git也会很慢

git config --global --unset http.proxy
git config --global --unset https.proxy

下载速度取决于ss速度

评论 0

还没有评论,来说两句吧~

发表评论

评论将直接显示
目录