参考文章:

【报错fatal: unable to access ‘https://github解决办法】_fatal: unable to access github-CSDN博客

报错fatal: unable to access ‘https://github解决办法:

法1:把命令行里的http改为git重新执行

结果:

法2:修改host文件

把140.82.114.4 github.com添加到C:\Windows\System32\drivers\etc里的hosts文件的最后一行,然后保存

原来——

现在——

113.3 改为 114.4

然后……

好像是因为网有点卡,再git一次就行了

(不懂为什么改一下ip就行了……)

参考文章

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。