提升git clone速度

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

同时修改hosts文件(C:\Windows\System32\drivers\etc\hosts):

151.101.72.249 http://global-ssl.fastly.Net
192.30.253.112 http://github.com

前后clone速度如图(虽然是下载不同的文件):
1.png
2.png

最后修改:2023 年 08 月 26 日
如果觉得我的文章对你有用,请随意赞赏