Git-FAQ



报错信息 % git push origin master Enumerating objects: 9, done. Counting objects: 100% (9/9), done. Delta compression using up to 8 threads Compressing objects: 100% (8/8), done. send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (8/8), 2.35 MiB | 3.29 MiB/s, done. Total 8 (delta 2), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date

解决方案

git config --global http.postBuffer 524288000

报错:

fatal: The remote end hung up unexpectedly

解决办法:

$ git config --local http.postBuffer 524288000
fatal: unable to access ': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream