Re: how to make "full" copy of a repo
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 30, 2015, 15:22 UTC
- Message-ID
- <CACsJy8AN6X3oh2=yLn-szEApEMC+uQMmO6qBYbPrVNK1_d5tEQ@mail.gmail.com>
- In-Reply-To
- <20150328143152.GB9387@vps892.directvps.nl>
On Sat, Mar 28, 2015 at 9:31 PM, Kevin D <me@ikke.info> wrote:
Show 11 quoted lines
> Git clone is never going to get you a copy where nothing is lost. > > What you are losing on clone is: > > * config settings (this includes the configures remotes) > * hooks > * reflog (history of refs, though, by default disabled for bare > repositories) > * Stashes, because the reference to them is stored in the reflog > * unreferenced objects (though you said those are not a requirement, it > is still something that is lost)
This is true. But I wonder if we should (and can) support --super-mirror option (disabled by default), where reflog and stashes are kept, for backup purposes. We might keep unreferenced objects as well if it's not hard to do.
-- Duy