Git Error: The remote end hung up unexpectedly

来源:互联网 发布:站长之家素材源码 编辑:程序博客网 时间:2024/06/06 05:13

1 问题描述

    在Ubuntu14.04中,使用Git将kernel push到GitHub仓库时,提示错误:


2 探索过程

2.1 探索一:修改postBuffer大小

    根据参考资料[1][2]的提示,通过下述配置设置postBuffer的大小

git config http.postBuffer 524288000

    结果:依然报错:


2.2 探索二:使用SSH

    上述错误是使用HTTPS进行push出现的错误,根据参考资料提示,可以改为使用SSH的方式,详见《通过SSH向GitHub push代码》。

3 解决方法

    改用SSH的方式来push。

参考资料

[1]git clone 异常 fatal: The remote end hung up unexpectedly

[2]Git, fatal: The remote end hung up unexpectedly

[3]自建项目push后再pull报The remote end hung up unexpectedly问题解决

[4]git push错误;fatal: The remote end hung up unexpectedly

[5]解决Gitlab的The remote end hung up unexpectedly错误

[6]Git clone repository error: RPC failed; result=56, HTTP code = 200

[7]Git clone Error: RPC failed; result=56, HTTP code = 200

[8]git push 提示错误 RPC failed; result=56, HTTP code = 0

[9]Set up SSH for Git

[11]git 使用(ssh key创建和github使用)

[12]window下配置SSH连接GitHub、GitHub配置ssh key

0 0
原创粉丝点击