跳到主要内容

通过修改 host 访问 github

  1. 下载host,每日更新
  2. Windows 修改 C:\Windows\System32\drivers\etc\hosts(复制到文本末尾)
  3. *unix 修改 /etc/hosts(复制到文本末尾)
  4. 重启或者
    • ipconfig /flushdns (windows)
    • sudo killall -HUP mDNSResponder (macos)
    • sudo nscd restart (linux)

资料地址:https://github.com/maxiaof/github-hosts