git push 시 아래의 오류가 발생하는 경우가 있다.
Push failed Total 22 (delta 6), reused 0 (delta 0) RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 the remote end hung up unexpectedly the remote end hung up unexpectedly
원인을 확인해보니 git 은 전송 가능한 버퍼 최대 사이즈의 기본값을 1MB으로 설정한다.
그래서 아래와 같이 512MB로 설정을 변경한다.
git config http.postbuffer 524288000
다시 해보니 잘 된다.
반응형