Re: is there any faster way to download using git?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 16, 2014 at 3:45 AM, Rahul Garg <rahul.lnmiit@xxxxxxxxx> wrote:
>
> I am trying to download following git branch
>
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>
> But it is downloading very slow with speed of 10-40 KB/s.
> So I was wondering is there any faster way to download this branch.
>

A small tip that I use all the time. Once you download your first kernel
git repository, you can use it as a reference for future kernel clones,
with the --reference option.

For instance,

git clone --reference ${HOME}/linux/torvalds/
git://git.kernel.org/pub/scm/linux/kernel/git/some-other-tree/linux.git

I keep one 'torvalds' repo, to track Linus' changes and as reference for all my
other repos.
-- 
    Ezequiel

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux