is there any faster way to download using git?
Ezequiel Garcia
elezegarcia at gmail.com
Thu Mar 20 13:18:52 EDT 2014
On Sun, Mar 16, 2014 at 3:45 AM, Rahul Garg <rahul.lnmiit at gmail.com> 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
More information about the Kernelnewbies
mailing list