git clone 出现错误 fatal: The remote end hung up unexpectedly
来源:互联网 发布:麦博煲音箱软件 编辑:程序博客网 时间:2024/06/10 17:02
背景:
在gitlab上新开了一个项目,然后把本地的代码push上去了。之后需要在公司的测试服部署项目,就需要先从gitlab上git clone项目,但是神奇的一幕出现了,竟然失败了,无论是ssh 还是http都是失败,title的异常是ssh方式报出来的。本地试了下,完全没问题,都可以clone。但是登陆测试服clone就不行。
解决办法:
让同事看了下,他说让我把git的版本更新一下,cetos的初始版本是1.7. 1,然后我就把git的版本更到了最新版2.2.1。更新的方法可以看我的上一篇文章。更新成功之后我发现clone时候又出现了新的异常,
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
这个是明显的权限问题,但是一时间我又没想明白到底哪的权限出错了。ps:本人刚接触git 不久。 然后我就换了http的登陆模式,发现竟然可以,然后我输入自己的邮箱和密码,成功的把项目代码从gitlab中clone了下来。
1 0
- git clone 出现错误 fatal: The remote end hung up unexpectedly
- git push错误;fatal: The remote end hung up unexpectedly
- git push错误;fatal: The remote end hung up unexpectedly
- git fatal: The remote end hung up unexpectedly 错误
- git clone 遇到错误:fatal: The remote end hung up unexpectedly
- BAE使用git push出现错误:fatal: The remote end hung up unexpectedly
- Git中push时出现错误fatal: The remote end hung up unexpectedly
- git fatal: the remote end hung up unexpectedly
- Git fatal: The remote end hung up unexpectedly
- Git: fatal: The remote end hung up unexpectedly 解决方法
- Git异常fatal:The remote end hung up unexpectedly
- Git, fatal: The remote end hung up unexpectedly
- Git: fatal: The remote end hung up unexpectedly 解决方法
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: The remote end hung up unexpectedly
- ImportError: No module named cv2
- Java-sdut-ACM 3870 判定Java源文件名称
- HDOJ--2025 查找最大元素问题
- TCP/IP笔记(七)TCP详解
- 处理好item点击事件的gallery(画廊)效果(无bug)
- git clone 出现错误 fatal: The remote end hung up unexpectedly
- 简单模板匹配实现跟踪
- 数据结构学习-最大子列和问题
- 02:不吉利日期
- 解决ios上audio不能自动播放,也不能连续播放的问题
- 核电站
- TCP/IP笔记(八)应用层协议
- 八皇后
- NOI openjudge 1792.迷宫