[git] fatal : The remote end hung up unexpectedly

off_sujin·2021년 12월 4일
0
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: the remote end hung up unexpectedly

git에 음성합성 데이터 자료들을 Push하다가 위의 오류를 만났습니다.

-> Git의 Buffer 사이즈 늘리기

원인은 찾아보니 올리는 파일의 크기가 너무 커서 생기는 문제라고 합니다.
따라서 git의 post buffer 사이즈를 늘려주겠습니다.

git config --global http.postBuffer 1048576000

그리고 push를 해보았지만 문제가 해결되지 않았습니다...

-> git filter-repo 사용하기

다른 방법을 더 찾아보니 git filter-repo라는 것이 있었습니다.

먼저 git filter-repo를 다운받습니다.

brew install git-filter-repo

그리고 push limit을 늘려줍니다.

git filter-repo --strip-blobs-bigger-than 10M

그리고 push하면 정상적으로 작동되는 것을 볼 수 있습니다!!

profile
학습 중..

0개의 댓글