본문 바로가기
Git

fatal: the remote end hung up unexpectedl

by Aole 2025. 1. 25.

 

상황 : git push 중 오류 발생

오류 내용 : fatal: the remote end hung up unexpectedly

 

git push 
Enumerating objects: 37, done.
Counting objects: 100% (37/37), done.
Delta compression using up to 10 threads
Compressing objects: 100% (27/27), done.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (29/29), 1.09 MiB | 1.80 MiB/s, done.
Total 29 (delta 4), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

 

이유 : push할 이미지 파일이 너무 커서 생긴 이슈

 

해결 : 버퍼를 늘리면 된다.

git config --global http.postBuffer 1048576000

 

그 뒤 push하면 정상적으로 동작

'Git' 카테고리의 다른 글

Repository가 너무 복잡하게 많을 때  (4) 2025.01.21
fatal: Authentication failed for 오류 해결  (0) 2025.01.14