728x90
git push 가 갑자기 계속 안되서 좀 찾아봤다.
우선 push를 하면 아래와 같이 나왔었고,
git push origin main
오브젝트 나열하는 중: 36, 완료.
오브젝트 개수 세는 중: 100% (36/36), 완료.
Delta compression using up to 11 threads
오브젝트 압축하는 중: 100% (22/22), 완료.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
오브젝트 쓰는 중: 100% (23/23), 2.23 MiB | 3.26 MiB/s, 완료.
Total 23 (delta 16), reused 0 (delta 0), pack-reused 0 (from 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date
error 부분만 구글에 검색해보니 푸시하려는 데이터의 크기가 큰 경우가 주된 원인이라고 하더라.
우선 추가되는 이미지의 크기를 줄였으며, http 버퍼 크기를 증가시켰더니 해결되었다.
#Git의 HTTP 포스트 버퍼 크기를 500MB로 설정
git config http.postBuffer 524288000
참고 사이트
728x90
'코딩 > 문제&에러' 카테고리의 다른 글
cacheManager.caching is not a function (0) | 2024.10.25 |
---|---|
nth-check (0) | 2024.09.20 |
카카오맵 지도 안뜰때 (0) | 2024.05.21 |
Netlify https => http 에러 (1) | 2024.05.19 |
firebase 줄바꿈 적용안됨 (0) | 2024.04.15 |