Git,致命:遠程端意外掛斷當我試圖跑git push origin master --force我剛得到Counting objects: 2649, done.Delta compression using up to 2 threads.Compressing objects: 100% (1280/1280), done.error: RPC failed; result=22, HTTP code = 413 | 116 KiB/s fatal: The remote end hung up unexpectedlyWriting objects: 100% (2504/2504), 449.61 MiB | 4.19 MiB/s, done.Total 2504 (delta 1309), reused 2242 (delta 1216)fatal: The remote end hung up unexpectedlyEverything up-to-date這與不安全有關嗎?我嘗試在Fatal的答案中創建一個公鑰:遠程端意外掛斷并再次運行它,但它仍然無效。我實際上沒有使用鑰匙嗎?如果是這樣,我該如何使用它?
3 回答

楊__羊羊
TA貢獻1943條經驗 獲得超7個贊
這看起來類似于如何讓github默認為ssh而不是https用于新的存儲庫。可能值得嘗試從http協議切換到ssh:
$ git remote add origin [email protected]:username/project.git

有只小跳蛙
TA貢獻1824條經驗 獲得超8個贊
問題是由于git / https緩沖區設置。為了解決它(在將提交提交到github時取自Git失?。?/p>
git config http.postBuffer 524288000
- 3 回答
- 0 關注
- 3317 瀏覽
添加回答
舉報
0/150
提交
取消