Skip to contentSkip to conversation

Error Creating GIT Repo

DISCUSSION Arun M Kumar 2 participants 2 messages Aug 30, 2013 – Aug 31, 2013

lore
Share & tools
lore
#0 lore raw

I have tried this multiple times with the same result.

COMMAND:

git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

OUTPUT:

Cloning into 'linux-stable'...
remote: Counting objects: 3359873, done.
remote: Compressing objects: 100% (513049/513049), done.
fatal: read error: Connection timed out), 189.03 MiB | 100 KiB/s
fatal: early EOF
fatal: index-pack failed

I have been receiving this error always.
Is there some fault with my system or the server.

#1 lore raw
Quoted 9 lines · Arun M Kumar

I have tried this multiple times with the same result.

COMMAND:

git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Quoted 8 lines

OUTPUT:

Cloning into 'linux-stable'...
remote: Counting objects: 3359873, done.
remote: Compressing objects: 100% (513049/513049), done.
fatal: read error: Connection timed out), 189.03 MiB | 100 KiB/s
fatal: early EOF
fatal: index-pack failed

Try cloning with the argument --depth 1, i.e.

git clone --depth 1 <git URL>

That should give you a shallow clone which will contain all the files, but not the history, and you won't be able to push changes. If you need that information, you can update after cloning by running the following command within the linux-stable directory:

git fetch --depth=2147483647

If you have a recent (>= 1.8.3 I think) version of Git you may also be able to run:

git fetch --unshallow

Which is an alias for --depth=2147483647, but easier to remember.[1]

[1] http://permalink.gmane.org/gmane.comp.version-control.git/213186

Signature · 2 lines
Paul Waring
http://www.pwaring.com