现象:

原因:git在拉去代码时找不到hostname,git路径中git@gitlab.yto.net.cn:new_yonmen/carrier.git中的域名不存在,需要配置host文件,或者修改域名为ip

解决办法:为了方便以后的下载,建议修改host文件,

hosts中增加

10.1.221.231 gitlab.yto.net.cn

git报错:ssh: Could not resolve hostname gitlab.yto.net.cn:相关推荐

  1. 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 ...

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

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

  3. 使用vscode连接阿里云服务器报错: ssh: Could not resolve hostname Name or service not known

    ssh: Could not resolve hostname Name or service not known vscode配置里面你把那个hostname不写试试连接 Host 公网ipPort ...

  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. 【git报错】unable to resolve reference ‘ORIG_HEAD‘: reference broken

    [git报错]unable to resolve reference 'ORIG_HEAD': reference broken git报错::fatal: update_ref failed for ...

  6. ssh: Could not resolve hostname gitee.com: Name or service not knownfatal: Could not read from remo

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

  7. 解决ssh: Could not resolve hostname ***: nodename nor servname provided, or not known报错

    一.问题 今天新搞到一台linux服务器,使用域名登陆服务器时遇到了如下报错: ssh: Could not resolve hostname ***: nodename nor servname p ...

  8. hadoop启动报错:localhost: ssh: Could not resolve hostname localhost

    hadoop启动journalnode时报错:localhost: ssh: Could not resolve hostname localhost: Temporary failure in na ...

  9. 配置免密登录报错: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 ...

最新文章

  1. net类库中发送电子邮件的方法总结
  2. WebGL学习笔记七点一
  3. [CareerCup] 4.7 Lowest Common Ancestor of a Binary Search Tree 二叉树的最小共同父节点
  4. 必须使用初始化列表的情况
  5. Windows Phone Local Database Schema Upgrade Part1 - Adding new columns
  6. B1.Java基础部分二
  7. 618期间, “直播带货”翻车负面信息暴增
  8. 黑马程序员之Java集合类详解
  9. linux中板子烧写环境配置,3、在Linux下搭建51单片机的开发烧写环境(makefile版)...
  10. MATLAB的算术运算和点运算
  11. ASP.net AJAX 调用PageMethods实例
  12. 六大排序原理(十六)
  13. Java期末复习——知识点+题库
  14. 前端实现——html2pdf功能(完成)
  15. bzoj2429: [HAOI2006]聪明的猴子(最小生成树)
  16. 【JMeter】分布式远程启动
  17. Java抽象类与接口详解
  18. 不做“学术媛‘,女博士毕业后遭妈妈吐槽“只学习不社交”
  19. 钉钉开放平台API对接第三讲
  20. 【开源项目】之健康助手

热门文章

  1. 单点登录之CAS原理和实现
  2. 软件测试 | 测试开发 | Golang开发入门(一)
  3. 迅为iTOP-4418/6818开发板-MiniLinux-GPS使用文档
  4. PyCharm使用(一)-光标变成黑色方块解决办法
  5. 什么是Apache,Apache和PHP的关系
  6. Creator2D横版游戏(1)主角左右走
  7. 心脏滴血漏洞详解及利用--HeartBleed With OpenSSL
  8. word 使用域对公式进行编号
  9. 手机摄像模组基本知识
  10. IIC/I2C/接口LCD1602转接板使用心得