1.打开https://github.com.ipaddress.com/www.github.com查看当前github.com对应的IP地址

  

 

2.复制hosts到桌面

   

 

 

3.添加配置

  

 

 

4.覆盖hosts

 

end

如有疑问可咨询: