前言:众所周知因为某些原因国内很难连接github,可以通过以下方式来解决这个问题:
1.在中国站长上查询github的dns解析:
戳我,在查询栏输入www.github.com
2.修改本地的hosts文件,建立对github的解析:
C:WindowsSystem32driversetchosts
添加:
IP https://www.github.com
ok了,这样就可以访问了