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