본문 바로가기

Windows

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

320x100

# git clone https://gitlab.collabora.com/test/kernel.git
Cloning into 'kernel'...
remote: Enumerating objects: 9490543, done.
remote: Counting objects: 100% (293287/293287), done.
remote: Compressing objects: 100% (69346/69346), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 4857 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed

git 으로 다운 받는데 위와 같이 에러가 발생 한다면 데이터 파일이 많아서 그럴수가 있다.

# git clone https://gitlab.collabora.com/test/kernel.git --depth 1

뒤에 --depth 1 옵션을 주고 하면

정상적으로 다운을 받을수 있다.

 

320x100