github问题合集

问题一:fatal: unable to access 'https://github.com/zhaoxin311...': Could not resolve host: github.com

解决办法:

  1. ping github.com :找不到
  2. 直接修改C:\Windows\System32\drivers\etc\hosts文件
  3. 现将hosts文件复制到桌面在最后添加 140.82.113.3 github.com并保存,
  4. 之后将桌面的hosts文件替换C:\Windows\System32\drivers\etc\hosts文件
  5. 最后在ping即可成功,提交代码也可以

评论

暂无评论