1、打开终端,输入:ping github.com 发现ping不通 2、直接修改/etc/hosts文件,windows系统应该也一样,直接修改host文件即可,在底部添加: 192.30.253.112 github.com