From: Jeff King Date: Tue, 20 Jan 2009 23:51:25 GMT Subject: Re: Newbie Query Message-ID: <20090120235125.GD17746@coredump.intra.peff.net> In-Reply-To: <49764647.1080606@morey-chaisemartin.com> On Tue, Jan 20, 2009 at 10:46:47PM +0100, Nicolas Morey-Chaisemartin wrote: > Well I know there are solutions to convert it to a bare repo. > I was just wondering if there was a "clean" one which really converts > the repo to a bare one and not create a copy which is bare. It has been a long time since I have done this. It used to be that you could simply "mv foo/.git foo.git" and be done with it. These days I think you would also need "git config core.bare true". But I haven't actually tested it recently. You may also want to tweak other config settings (e.g., bare repositories do not generally have reflogs turned on, but non-bare do). -Peff