Re: Newbie Query
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 21, 2009, 00:05 UTC
- Message-ID
- <alpine.DEB.1.00.0901210103100.19014@racer>
- In-Reply-To
- <20090120235125.GD17746@coredump.intra.peff.net>
Hi,
On Tue, 20 Jan 2009, Jeff King wrote:
Show 10 quoted lines
> 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.
Yep, you need to set that option. At least if you initialized your repository with anything newer than v1.5.0-rc1~3^2~2.
Ciao, Dscho