Hi,
On Thursday 24 February 2011 17:39:20 Michael Meeks wrote:
Anyhow - I tried your kind advice:
On Tue, 2011-02-22 at 10:55 -0500, Brian Gernhardt wrote:
quoted
FYI: `git clone foo bar` will use hard-links to copy the object
files and is both very fast and space efficient. (See the
description of `--local` in git-clone(1), which is used by
default for local repositories since git 1.5.3.) It's also
guaranteed to work while the correctness of `cp -lR` depends
on implementation details of git.
Sounds like just what I need. Unfortunately, it didn't clone some of
the pieces I needed; eg. other configured remotes, I ended up with just
'origin' - which was unexpected (and less wonderful than cp -lR ;-).
See the --mirror option for clone
Per default only local refs get copied over.
Andres