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