git clone 速度很慢
1.在/etc/hosts中添加如下:
192.30.253.112 github.com
151.101.44.249 github.global.ssl.fastly.net
(用浏览器访问 IPAddress.com or http://tool.chinaz.com 使用 IP Lookup 工具获得github.com和github.global.ssl.fastly.net域名的ip地址)
2.更新DNS缓存,输入
sudo /etc/init.d/networking restart
摘自 https://blog.csdn.net/DlMmU/article/details/79562021
该方法确能解决问题,但本人暂时不清楚具体原理