Error Creating GIT Repo
I have tried this multiple times with the same result.
COMMAND:
git clonegit://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.
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