Subject: Re: Make a non-bare repo bare.

From: Paolo Bonzini <[email-masked]>
Date: Wed, 15 Jul 2009 23:48:42 +0200

On 07/15/2009 11:43 PM, Tim Visher wrote:
> Hello Everyone,
>
> I recently had occasion to make a previously non-bare repo bare.  Is
> there any way to do this?  It will not allow me to delete a branch
> that I'm on so I wasn't sure how to proceed.

Just do "mv repo/.git repo.git; rm -rf repo" (with care!).

Paolo