kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Error Creating GIT Repo
@ 2013-08-30  1:34 Arun M Kumar
  2013-08-31 10:29 ` Paul Waring
  0 siblings, 1 reply; 2+ messages in thread
From: Arun M Kumar @ 2013-08-30  1:34 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Error Creating GIT Repo
  2013-08-30  1:34 Error Creating GIT Repo Arun M Kumar
@ 2013-08-31 10:29 ` Paul Waring
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Waring @ 2013-08-31 10:29 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Aug 30, 2013 at 07:04:54AM +0530, Arun M Kumar wrote:
> 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

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

-- 
Paul Waring
http://www.pwaring.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-31 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30  1:34 Error Creating GIT Repo Arun M Kumar
2013-08-31 10:29 ` Paul Waring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).