From: Jon Smirl Date: Mon, 12 Feb 2007 16:40:13 GMT Subject: Re: Efficiency of initial clone from server Message-ID: <9e4733910702120840p3fd2a18ar2e3b91564556dc43@mail.gmail.com> In-Reply-To: <9e4733910702120724y2a0ba6b0h3f571aa2306872a5@mail.gmail.com> On 2/12/07, Jon Smirl wrote: > On 2/12/07, Junio C Hamano wrote: > > "Jon Smirl" writes: > > > > > 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. Does this use hard links so that if I whack my linux-2.6 it won't also destroy my wireless-dev repo? -- Jon Smirl jonsmirl@gmail.com