Posts

Showing posts with the label 깃렙

error: RPC failed; curl 18 transfer closed with outstanding read data remaining이 발생했을 때 문제해결

Image
git을 이용하여 Clone 하는 도중.. error: RPC failed; curl 18 transfer closed with outstanding read data remaining 에러가 발생했다면 이렇게 한번 해보세요. 문제 원인 error: RPC failed; curl 18 transfer closed with outstanding read data remaining 를 해석해 보면 미해결 읽기 데이터가 남아 있는 상태에서 curl 18 전송이 종료되었습니다. 라는 뜻이네요. 문제의 원인은 네트워크의 문제로 인해 연결이 끊기고 git clone 종료된 상황이라고 합니다. 보통 네트워크 상황이 좋지 않고 대량의 파일을 Clone 할 때 발생할 수 있다고 합니다. 해결 방안 한 번에 모든 파일을 git clone 하기보다는 먼저 1Depth만 먼저 Clone 하고 점진적으로 가져오는 방법입니다. $ git clone https://test.github.com/design/design.git --depth 1 $ cd repo_design $ git fetch --unshallow 만약에 tortoiseGit 을 사용한다면 아래와 같이 깊이를 1로 설정하면 동일한 효과가 발생합니다.