Github不稳定的解决办法

原文链接:https://www.jianshu.com/p/34b2e8fdb45e

 

1:打开DNS查询工具:http://tool.chinaz.com/dns

  网站截图

2:选择TTL值最低的那个,如果当前列表没有符合要求的IP,重新检测。

3:使用Win + R 组合键,在运行对话框里,复制并粘贴:C:\WINDOWS\system32\drivers\etc

  网站截图

4:打开以后,选择HOSTS文件。

  网站截图

5:把刚才复制的IP地址,复制到这个文件里,格式如下:

# GitHub Start // 你复制的IP地址 #52.192.72.89 https://github.com  # GitHub End 

6:重新刷新,登入github.com

  TRANSLATE with x English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian  
  TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back