[问题]Github无法加载图片问题

最近新换的电脑,Github无法加载或不显示图片。查找资料并总结解决步骤如下:

1.Mac终端输入sudo vi /etc/hosts
2.按提示输入密码,点击i键,进入Insert模式,将下面内容拷贝进hosts文件中

# GitHub Start
192.30.253.112 Build software better, together
192.30.253.119 gist.github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
151.101.184.133 avatars4.githubusercontent.com
151.101.184.133 avatars5.githubusercontent.com
151.101.184.133 avatars6.githubusercontent.com
151.101.184.133 avatars7.githubusercontent.com
151.101.184.133 avatars8.githubusercontent.com
# GitHub End

3.按esc键,输入:wq 保存退出。
4.再去打开或刷新Github页面,图片可以加载了。

The End.

你可能感兴趣的:([问题]Github无法加载图片问题)