프로그래밍

Git send-pack: unexpected disconnect while reading sideband packet

jihun202 2025. 4. 21. 11:05
반응형

send-pack: unexpected disconnect while reading sideband packet

fatal: the remote end hung up unexpectedly

 

git push 시에 위 오류가 발생하며 push가 되지 않았다.

검색해보니 git push 기본값은 1MB여서 발생한다고 한다.

 

아래 커맨드를 실행하여 수정후 정상적으로 push 를 수행할 수 있었다.

 

git config --global http.postBuffer 2048M
git config --global ssh.postBuffer 2048M
반응형