github连接超时

参考 https://blog.csdn.net/weixin_45942304/article/details/106655158

1 修改 C:WindowsSystem32driversetchost 加入以下内容

#github
192.30.255.112 github.com git
185.31.16.184 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com

保存

2  打开命令行窗口,执行

ipconfig /flushdns

 刚能用2分钟就又挂了,太可恶了。

照这个再做一次  https://yangshun.win/blogs/2b7abf4f/

注意ip不一样

#github
140.82.114.4 github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
199.232.5.194 github.global.ssl.fastly.net

又修改为:

199.232.69.194 github.global.ssl.fastly.net

原文地址:https://www.cnblogs.com/pu369/p/15133556.html