Git pull error

ssh: Could not resolve hostname github: Name or service not known
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.

如果遇到上面面这个错误,千万不要用网上的哪个一大堆点击量的:
ping githun.com
这个纯属误导观众,Github的IP 时刻都在变化。

下面这个方法亲测可用:

git remote set-url origin git@github.com:xuwen0719/Embed_BMS.git
%git@github 是自己的SSH。

下面是成功界面:

Could not resolve hostname github: Name or service相关推荐

  1. UBUNTU无ROOT权限解决“Could not resolve hostname XXXXX: Name or service not known“问题

    最近在服务器上用torchpack时遇到Could not resolve hostname XXXXX: Name or service not known问题.网上大部分解决方法是将XXXXX添加 ...

  2. ssh: Could not resolve hostname github.com

    ssh: Could not resolve hostname github.com: Name or service not known fatal 可能原因 github上的key出了问题 个人网 ...

  3. 错误提示:ssh: Could not resolve hostname devsrv: Name or service not known

    ssh: Could not resolve hostname devsrv: Name or service not known ubuntu下 scp时出错:ssh: Could not reso ...

  4. Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname

    今天本地Git Push 代码推送远程分支,提示如下错误信息: zzg@LAPTOP-8R0KHL88 MINGW64 /e/idea_workspace (master) $ git push ss ...

  5. 配置免密登录报错:ssh: Could not resolve hostname note1: Name or service not known

    这两天配置免密出现这个错误: [root@note4 .ssh]# ssh note1 ssh: Could not resolve hostname note1: Name or service n ...

  6. [git]ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known

    ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known This sounds ...

  7. 解决:使用ssh-copy-id命令时出现ERROR: ssh: Could not resolve hostname hadoop01:Name or service not known

    1.问题描述 搭建rocketmq集群时,使用ssh-copy-id命令拷贝密钥到其他机器,如hadoop01,hadoop02,出现如下错误信息 [root@hadoop03 .ssh]# ssh- ...

  8. git报错ssh: Could not resolve hostname dev-nys: Name or service not known fatal: Could not read from r

    出现这个错误怎么解决呢 先 再执行这三步操作并push就可以了

  9. WSL: Could not resolve hostname Temporary failure(无法解析域名)

    原文链接 WSL 无法解析域名 Could not resolve hostname github.com: Temporary failure in name resolution 解决方法 # 1 ...

  10. git报错 ssh: Could not resolve hostname gitee.com:xxxxxx: Name or service not known fatal

    问题 使用git进行push操作时突然出问题,报错如下: ssh: Could not resolve hostname git: xxxxx:Name or service not known fa ...

最新文章

  1. CDH集群中YARN的参数配置
  2. Android Cursor自动更新的实现和原理
  3. 《Unity虚拟现实开发实战》——第1章,第1.8节小结
  4. java中比较两个日期的大小
  5. Android小项目之--服务【Service】
  6. python3获取两个日期之间所有日期,以及比较大小
  7. exit(0)和exit(1)区别
  8. Nodejs 了解web服务器
  9. html日期判断程序,javascript – HTML5日期验证
  10. 人声修音插件 – Antares Auto-Tune Pro 9.1.0.5 WiN
  11. office起动缓慢_win7系统打开Office2013很慢的解决方法
  12. 解决 微信小程序 滚动 事件穿透 问题
  13. 世界时间经纬_世界主要城市经纬度及时区列表
  14. 末日的传说 洛谷p1338
  15. 手机文件传云服务器失败怎么回事,为什么百度云上传不了文件 百度云无法上传文件原因解决办法...
  16. Android开发规范:APP版本发布(全量发布、灰度发布)
  17. Gvim插件NERDTree安装
  18. pygame库-Surface类-blit方法的两个参数(source, dest)的含义
  19. linux磁盘分区、挂盘
  20. 如何把D盘多余空间返还给C盘

热门文章

  1. ubuntu搭建PHP网站完整实例教程
  2. Golang创建DLL
  3. 安卓搜不到airpods_airpods忽略设备后再也搜不到了怎么办
  4. python_IED工具下载(pycharm)_windows版
  5. vue 嵌套表格组件_vue+element-ui实现嵌套表格导出
  6. 360插件化方案RePlugin学习笔记-资源共享
  7. 解决VAX 2210 不能识别 VS2017的问题
  8. jsp 中${ } 是什么意思?
  9. CSS基础--美化视觉效果
  10. 迪斯尼电影经典台词精选