내 로컬 컴퓨터에 자식 저장소를 복제하려고하는데 저장소가 너무 크기 때문에 "malloc failed
"이라고 말하고 있습니다.rsync git big repository
누구든지 디렉토리를 복사하는 데 사용할 수있는 정확한 rsync 명령을 알고 있습니까? 아니면 큰 저장소를 복제 할 수있는 다른 방법이 있습니까?
나는 rsyncing 시도했지만 그것은 나에게 다음과 같은 오류 제공 : 자식 클론을 사용하려고 할 때 나는 다음과 같은 오류가Invalid command: 'rsync --server --sender -v . username/dir.git'
You appear to be using ssh to clone a git:// URL.
Make sure your core.gitProxy config option and the
GIT_PROXY_COMMAND environment variable are NOT set.
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]
을 :
remote: Counting objects: 52708, done.
remote: Compressing objects: 100% (52188/52188), done.
fatal: Out of memory, malloc failed (tried to allocate 1471836719 bytes)
fatal: index-pack failed
http://stackoverflow.com/questions/6842687/the-remote-end-hung-up-enexpectedly에서 설명한대로 'git config --global http.postBuffer 524288000' 이후에 clone 명령을 다시 시도 할 수 있습니까? - 동안 자식 복제/6849424 # 6849424? – VonC
@VonC - 처음에 어떤 프로토콜을 사용하고 있는지 묻지 말아야합니까? 이 설정은 ssh/git이 사용되는 경우 중요하지 않습니까? – manojlds
복제하려면'rsync'를 실제로 사용합니까? :? – KingCrunch