Re: how to reduce disk usage for large .git dirs?
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Nov 13, 2014, 12:09 UTC
- Message-ID
- <CACsJy8BytRtHkq1eXdEXMgjnZuDSOJs33nyQ1=xd4jtSDaZ8BA@mail.gmail.com>
- In-Reply-To
- <20141113111444.GA15503@aepfle.de>
On Thu, Nov 13, 2014 at 6:14 PM, Olaf Hering <olaf@aepfle.de> wrote:
> Since each .git is almost identical I wonder if there is a reliable way > to "share" it. The "git clone" man page mentions --shared as a dangerous > way to do things. It does not give an advice how to manage such cloned > trees.
If you know what you are doing, you can try git-new-workdir in contrib/workdir. A safe and reliable version of that is being worked on, hopefully it'll be released in 2.3.0.
-- Duy