Git (깃)/깃 git
Gitlab error “fatal: The remote end hung up unexpectedly” 깃 에러
삐뚤어진 개발자
2019. 7. 9. 11:30
깃에 있는 프로젝트를 내 컴퓨터로 복사하려할때, (git clone uri 를 했을때 )
git push origin master Counting objects: 57, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (54/54), done.
Writing objects: 100% (47/47), 2.91 MiB | 204.00 KiB/s, done.
Total 57(delta 0), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
뭐 이런 깃 결과창에 섞인 에러다.
fatal: The remote end hung up unexpectedly 에러가 났다.
버퍼 사이즈가 너무 작아 에러가 난것으로 보인다.
아래의 명령어를 실행하여 git config의 http.postBuffer 사이즈를 늘려주면 해결할 수 있다.
git config http.postBuffer 104857600
참조:
https://www.jamescoyle.net/how-to/894-gitlab-error-fatal-the-remote-end-hung-up-unexpectedly