打开终端输入命令编辑hosts文件
sudo vim /etc/hosts
加入github的DNS地址
#github
185.199.108.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.110.133 objects.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
185.199.109.133 objects.githubusercontent.com
185.199.111.154 github.githubassets.com
185.199.108.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.110.154 github.githubassets.com
140.82.112.3 github.com
151.101.1.6 github.global.ssl.fastly.net
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
140.82.121.4 github.com
在终端运行下面命令,刷新缓存
sudo killall -HUP mDNSResponder
标签:
github
本文转载自: https://blog.csdn.net/m0_73442728/article/details/132873375
版权归原作者 舊時王謝堂前燕 所有, 如有侵权,请联系我们删除。
版权归原作者 舊時王謝堂前燕 所有, 如有侵权,请联系我们删除。