方法一、GitHub镜像源(不用登录账号)
1.https://hub.fastgit.org/
2.https://github.com.cnpmjs.org/
3.https://github.wuyanzheshui.workers.dev/
这是几个常用的镜像源,目前用着都还好。
方法二、修改Host地址
可以查询https://github.com.ipaddress.com/#ipinfo的IP地址
以及https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo,
将对应的Host地址修改为:
#github
140.82.112.4 github.com
199.232.69.194 github.global.ssl.fastly.net
更改完成后,打开命令提示符(cmd),刷新DNS
ipconfig /flushdns
前面是查询到的IP地址,后面是对应的网址,这种方法之前用着还挺好,但是现在有时候会出现打不开的现象。Host文件一般在“C(系统盘):\Windows\System32\drivers\etc”文件夹下
方法三、插件
可以安装一些插件来访问github,比如:
下载地址:https://greasyfork.org/zh-CN/scripts/398278
加速下载的插件等等,比如
下载地址:http://greasyfork.org/zh-CN/scripts/412245
更多推荐