Git,致命:遠(yuǎn)程端意外掛斷當(dāng)我試圖跑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這與不安全有關(guān)嗎?我嘗試在Fatal的答案中創(chuàng)建一個(gè)公鑰:遠(yuǎn)程端意外掛斷并再次運(yùn)行它,但它仍然無效。我實(shí)際上沒有使用鑰匙嗎?如果是這樣,我該如何使用它?
3 回答

楊__羊羊
TA貢獻(xiàn)1943條經(jīng)驗(yàn) 獲得超7個(gè)贊
這看起來類似于如何讓github默認(rèn)為ssh而不是https用于新的存儲(chǔ)庫。可能值得嘗試從http協(xié)議切換到ssh:
$ git remote add origin git@github.com:username/project.git

有只小跳蛙
TA貢獻(xiàn)1824條經(jīng)驗(yàn) 獲得超8個(gè)贊
問題是由于git / https緩沖區(qū)設(shè)置。為了解決它(在將提交提交到github時(shí)取自Git失?。?/p>
git config http.postBuffer 524288000
- 3 回答
- 0 關(guān)注
- 3308 瀏覽
添加回答
舉報(bào)
0/150
提交
取消