解决 git clone fatal: unable to access ‘https://github.com…’: Could not resolve host: github.com的一种方法


1、win + R cmd打开终端
ping github.com,ping通的结果如图,


2、如果不通,在C:\Windows\System32\drivers\etc的hosts文件末尾加上:

140.82.113.4 github.com
140.82.113.4 www.github.com

3、关掉当前终端,重新打开一个终端,再次尝试ping,如果不通,请移步其他相关博客。

解决 git clone fatal: unable to access ‘https://github.com...‘: 的一种方法相关推荐

  1. git clone出现 fatal: unable to access ‘https://github.com/...‘的两种解决方法

    利用gitee下载github中开放的源码 方法一:             step 1:             step 2:             step 3: 方法二           ...

  2. git clone 出现fatal: unable to access https://github 解决方法

    git clone 出现fatal: unable to access https://github 类错误解决方法 git clone 遇到问题: ① fatal: unable to access ...

  3. git clone 出现fatal: unable to access ‘https://github 类错误解决方法

    git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxx ...

  4. git的clone命令出现fatal:unable to access ‘https://github.comXXXXXXX“:OpenSSL SSL_read:connection was errn

    git使用git clone命令时出现错误fatal:unable to access 'https://github.comXXXXXXX":OpenSSL SSL_read:connec ...

  5. git clone 报错:fatal: unable to access ‘https://github.com/xxxxxxxxx/xxx.git/‘: gnutls_

    完整报错:fatal: unable to access 'https://github.com/xxxxxxx/xxxx.git/': gnutls_handshake() failed: The ...

  6. 【Linux】git clone报错fatal: unable to access ‘https://github.com/xxx.git/‘: Encountered end of file

    目录 1.问题 2.解决 3.参考 1.问题 git clone代码时突然报错...貌似时不时遇到这个问题,这次遇到了准备简单mark下 git clone https://github.com/xx ...

  7. 解决git下载报错:fatal: unable to access ‘https://github.com/.../.git/‘:

    解决git下载报错:fatal: unable to access 'https://github.com/-/.git/':- 1.在git中执行git config --global --unse ...

  8. fatal: unable to access ‘https://github.com/XXX.git/‘ 的解决办法

    问题描述 使用 Git clone 命令将远程项目同步至本地,报错 fatal: unable to access 'https://github.com/XXX.git/' 解决办法 将 https ...

  9. 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect

    [git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...

最新文章

  1. 深入理解 Mybatis 插件开发
  2. Jenkins +maven+tomcat自动构建部署(学习笔记三十六)
  3. oracle逻辑备份和物理备份,oracle数据库物理备份和逻辑备份区别
  4. 通过yarn上的applicationId杀死hadoop中的任务,或通过hadoop job命令停止任务、yarn container 的日志路径
  5. IT界含金量高的认证考试
  6. 案例:返回固定页面的http服务器
  7. java怎么复制别人的数据库_java-如何在不使用Apache DDLUtils的情况下使用JDBC将模式从一个数据库复制到另一个数据库?...
  8. 误删表数据,如何恢复过来
  9. 58同城显示服务器繁忙,58同城推出神奇面试间 智能招聘服务大幅提升企业招聘效果...
  10. Linux串口驱动(5) - read详解
  11. matlab arma 仿真,基于Matlab的ARMA模型时间序列分析法仿真
  12. cpu测试稳定性软件,测试CPU稳定性工具Prime95
  13. 什么事IPC(Inter-Process Communication,进程间通信)
  14. java 将多个文件打包成压缩包下载
  15. 走马观花-浪里跳-学习英文
  16. 网上银行系统5:系统登陆
  17. system.in.read()用法
  18. Matlab之随机森林TreeBagger
  19. Scrapy ip代理池
  20. openlayers3_API简说

热门文章

  1. java编码转换 解决日文乱码
  2. lisp 墙体 天正建筑_天正建筑设计常见问题及解决方法
  3. 马克思基本原理概论 单元综合测试(二)
  4. 3d打印出现孔洞和裂缝问题
  5. Google勇敢新世界:两个天才的相遇
  6. 动画(effects)素材dlc导入问题
  7. 开启Intel VT-x
  8. 一文进入Flink CDC 的世界
  9. js判断两个数组是否相同
  10. 斗兽棋java程序,Java 斗兽棋算法 帮优化一下解决办法