티스토리 뷰

 

개인 NAS 에 gitlab 설치하여 temp project 에 사용하고 있는데, 클라우드 셑업하고 git clone 하는데 다음과 같이 오류가 발생했다. 

 

 

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header

 

구글링으로 찾은 솔루션은 아래와 같이 --depth 1 을 추가하는 것이다. 

 

$ git clone http://github.com/large-repository --depth 1
$ cd large-repository
$ git fetch --unshallow

[출처 : https://stackoverflow.com/questions/38618885/error-rpc-failed-curl-transfer-closed-with-outstanding-read-data-remaining]

 

혹시 위 옵션대로 안되면 출처인 stackoverflow 에 다른 방법들도 있으니,

혹시 같은 문제로 고생하시는 분들은 위 출처로 가셔서 해결하시길 바랍니다.

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함