Git Error: The remote end hung up unexpectedly

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章