Cd Chen's Services

ba ba ba la~~

git - fatal: The remote end hung up unexpectedly

使用 git push 資料到 HTTP 的 remote 時,如果發生下列的問題:

Counting objects: 1026, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1012/1012), done.
error: RPC failed; result=22, HTTP code = 501
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1026/1026), 3.73 MiB | 4.37 MiB/s, done.
Total 1026 (delta 345), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

可以這樣處理:

git config http.postBuffer 524288000

。完美,結束。

 

Ref: https://confluence.atlassian.com/pages/viewpage.action?pageId=282988530

這篇內容的 Trackback 網址:

http://cdchen.idv.tw/trackback/1104