☞通过修改hosts文件来提速 获取github的IP地址
访问:网址 拉到下方,找到页面中下方的搜索框
分别输入下面三个网站搜索
github.com
github.global.ssl.fastly.net
codeload.github.com
依次获取以下三个网址的IP
修改系统 hosts 添加内容(就是上面的内容,ip地址两个的留下一个地址就可以了)
windows系统
hosts文件路径:C:\Windows\System32\drivers\etc\hosts
添加上面查询到的IP到hosts文件中
刷新DNS
运行——cmd—— ipconfig /flushdns
完美解决