github问题合集
文章目录
问题一:fatal: unable to access 'https://github.com/zhaoxin311...': Could not resolve host: github.com
解决办法:
- ping github.com :找不到
- 直接修改C:\Windows\System32\drivers\etc\hosts文件
- 现将hosts文件复制到桌面在最后添加 140.82.113.3 github.com并保存,
- 之后将桌面的hosts文件替换C:\Windows\System32\drivers\etc\hosts文件
- 最后在ping即可成功,提交代码也可以
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论