savannah-hackers-public
[Top][All Lists]
Advanced

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

Re: [Savannah-hackers-public] Emacs git repository clone limits


From: Bob Proulx
Subject: Re: [Savannah-hackers-public] Emacs git repository clone limits
Date: Thu, 28 May 2020 17:48:07 -0600

Philippe Vaucher wrote:
> Alfred M. Szmidt wrote:
> > Why not simply use a reference repository?
> >   git clone --mirror git://git.gnu.org/emacs.git ~/emacs-reference
> > And when cloning:
> >   git clone --reference ~/emacs-reference git://git.gnu.org/emacs.git
> > the ~/emacs-reference place can be accessible where ever you are using
> > it.  This will work incrementally, and not use up scares resources..
> 
> Thanks, good idea I didn't know about it. I don't know how well
> `--reference` will cope with diverged branches, but I'll run some test.

If you are bundling up a result then also look at the git clone option
--dissociate too.  That produces a result that is independent of the
reference.  I think that would be more suitable to you the way you
described it.

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]