Git 克隆速度过慢问题
思路
git clone特别慢是因为github.global.ssl.fastly.net域名被限制了。 只要找到这个域名对应的ip地址,然后在hosts文件中加上ip–>域名的映射,刷新DNS缓存便可。
实施方法
在网站 https://www.ipaddress.com/ 分别搜索:
github.global.ssl.fastly.net
github.com
复制出ip,在hosts文件末尾添加两行
ip github.global-ssl.fastly.net
ip github.com
将ip替换成查出来的ip就行
之后输入命令刷新缓存
ipconfig /flushdns