3

when ever we try to clone over ssh the audio repo which is of 65+GB in size , we are getting below Error . Any suggestion please ?

we are able to clone using file:// protocol & repo heath is fine ...

git clone ssh://server-gerrit/project_Q2/audio Cloning into 'audio'... X11 forwarding request failed on channel 0 remote: Counting objects: 23944, done remote: Finding sources: 100% (23944/23944) Disconnecting: Protocol error: expected packet type 31, got 94
fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

Jayanth
  • 99
  • 2
  • 8

1 Answers1

0

This issue proposes the following workaround, using a shallow clone:

Workaround Git 1.8+:

#find the highest N that will work
git clone --depth N  ssh://git@stashhost:7999/stash/stash.git
git fetch --unshallow

Since it doesn't work, I mentioned in the comments the bundle technique, which allows for incremental bundles.

The OP adds:

We split the repo and managed it that way.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @Jayanth even with depth 1? – VonC Apr 22 '15 at 13:02
  • @Jayanth then can you try to bundle the repo and transfer it hat way? http://stackoverflow.com/a/2545784/6309 (you can make lultiple incremental bundles: http://stackoverflow.com/a/24989477/6309) – VonC Apr 23 '15 at 05:24
  • @Jayanth Excellent. I have included your conclusion in the answer for more visibility. – VonC Apr 27 '15 at 07:16