今天发现一个很有意思的问题,使用git bash here 去拉取代码的时候,用clone with ssh或者是clone with http的链接都不好使,均报错,百思不得其解啊,为此还花了点时间.

报错信息分别如下:
LII@Lii MINGW64 /i/work/ ABCDcode
$ git clone http://7d8032432a52/mogu/code/mogu-back.git/
Cloning into ‘mogu-back’ …
fatal: unable to access ‘http://7d8032432a52/mogu/code/mogu-back.git/’ : Could not resolve host: 7d8032432a52

LII@Lii MINGw64 /i/work/ ABCDcode
$ git clone git@7d8032432a52:mogu/code/mogu-back.git
Cloning into ‘mogu-back’… .
ssh: Could not resolve hostname 7d8032432a52: Name or service not known
fatal: could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.

不知道是哪里有问题,估计是搭建私服的gitLab的时候有点问题吧?

最后发现,用浏览器地址栏的URL,直接去git bash here
输入命令+URL
git clone http:/127.0.0.1/mogu-back
成功拉取项目代码。

图片存在信息,没附上带有错误信息的贴图。

fatal: unable to access 或者 fatal: could not read from remote repository相关推荐

  1. fatal: unable to access : The requested URL returned error: 403

    错误提示如下 C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master remote: Forbidden fa ...

  2. fatal: unable to access ‘‘: TCP connection reset by peer

    fatal: unable to access '': TCP connection reset by peer 3.20有用按照 只对github.com git config --global h ...

  3. fatal: unable to access ‘https://github.com/***.git/‘: OpenSSL SSL_read: Connection was reset, errno

    写了点code,想交到GitHub,结果报了个错. fatal: unable to access 'https://github.com/koking0/Algorithm.git/': OpenS ...

  4. fatal: unable to access 'xxxxxxxxxxxxx':The requested URL returned error: 403

    完整报错如下 remote: Permission to appleyuchi/Front_Design.git denied to SomeNews. fatal: unable to access ...

  5. 解决git push 中remote: Permission to xxxxx.git denied to xxx. fatal: unable to access xxxx 403(转)

    问题复现 你在切换多个github账号的时候,很容易出现下面的这种问题 问题描述 今天我在使用git push 将修改的项目push到github中,出现: remote: Permission to ...

  6. Git ----fatal: unable to access ‘https://gitee.com/***.git/‘: SSL certificate problem: unable

    fatal: unable to access 'https://gitee.com/gzllkm/GZL.git/': SSL certificate problem: unable to get ...

  7. fatal: unable to access ‘https://github.comxxxxxxxxxxx‘: Failed to connect to xxxxxxxxxxxxx

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

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

  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. webservice mysql配置_Nginx配置WebService、MySQL、SQL Server、ORACLE等代理
  2. opencl高斯源码整理
  3. Android网络编程之使用HTTP訪问网络资源
  4. ISA Server实验环境搭建与企业×××配置
  5. Windows下创建动态库
  6. Intent七在属性之一:ComponentName
  7. js中startsWith 函数不能在任何浏览器兼容的问题
  8. *08TensorFlow2.0基础--8.3维度变换
  9. java 8 foreach获取索引
  10. 前言 第一章 为什么要培养好习惯
  11. Common Digester学习
  12. Word文档打开后不能编辑,可以这样处理
  13. 微信小程序 时间轴(时间线)特效
  14. 定时计数程序c语言,MCS-51系列单片机C语言编程定时/计数器程序模板
  15. ios 表情符号 键盘_使用iOS键盘键入时,表情符号在NSAttributedString中不显示,在Android上键入时表示...
  16. 写给程序员的Flutter详细教程,大厂直通车!
  17. Android 4.0.1 源码下载,编译和运行
  18. 4.12leetcode468. 验证IP地址
  19. 提升沟通效率,增强企业执行力-中小企业融合通信解决方案
  20. 实现简易版德州扑克|学习麻瓜编程以项目为导向入门前端 HTML+CSS+JS

热门文章

  1. java oracle 时间查询_Oracle 日期查询
  2. 分享:实时语音通讯,可广域网实时通讯,音质清晰流畅!
  3. 在页面上用$(#userName).val();获取不到值,提示$(#userName)未定义
  4. 谷歌浏览器突然不能翻译成中文
  5. java end 方法_Java Spans.end方法代码示例
  6. android游戏开发实例-可局域网对战的飞行棋(二)
  7. 银河麒麟系统FT2000 ARM64平台源码编译grub2并制作启动U盘 引导启动长城UF716笔记本
  8. 立创元件导入AD集成库的方法
  9. 塞北村镇旅游网站设计(论文+PPT+源码)
  10. Linux —— 基础开发工具的基本使用 —— yum、vim、gcc、make和makefile,gdb的简单应用