From: Andres Freund Date: Fri, 25 Feb 2011 20:55:12 GMT Subject: Re: libreoffice merge(tool?) issue #3 ... (bogus) Message-ID: <201102252155.13466.andres@anarazel.de> In-Reply-To: <1298565560.32648.258.camel@lenovo-w500> 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: > > 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