Re: Efficiency of initial clone from server
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 12, 2007, 06:08 UTC
- Message-ID
- <7vr6svaowm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <9e4733910702112155m3f5da9abgbeb2b6783005296f@mail.gmail.com>
"Jon Smirl" <jonsmirl@gmail.com> writes:
Show 6 quoted lines
> I am guilty of doing initial clones for different kernel trees from > kernel.org when I could be doing a local clone of linus' tree and then > pulling the deltas from kernel.org. But I'm lazy, I just kick the > clone off in the background and it finishes in three or four minutes. > I also do the clones when I have messed my local trees up so much that > I don't know what is in them anymore.
Time to learn to use --reference perhaps?
git clone --reference linux-2.6 git://.../linville/wireless-dev.git
where "linux-2.6" is local repository which is my personal copy of Linus's repo.