github上下载速度缓存慢的问题

办法1,测试无效
/etc/hosts

C:\Windows\System32\drivers\etc\hosts

添加

192.30.255.112 github.com
103.245.222.249 github.global.ssl.fastly.net
重启。测试无效。

办法2,测试有效
git config --global http.proxy 127.0.0.1:50647
git config --global https.proxy 127.0.0.1:50647
 
git config --global  http.https://github.com.proxy 127.0.0.1:50647
git config --global https.https://github.com.proxy 127.0.0.1:50647
下载时间
早上8点之前,下载速度飞快。一到9点速度马上就下降了。

猜你喜欢

转载自blog.csdn.net/vxandox/article/details/107979266