Re: Make a non-bare repo bare.
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Jul 15, 2009, 21:48 UTC
- Message-ID
- <4A5E4EBA.4050708@gnu.org>
- In-Reply-To
- <c115fd3c0907151443h49aaac60r3462c69f55ed2d9f@mail.gmail.com>
On 07/15/2009 11:43 PM, Tim Visher wrote:
Show 5 quoted lines
> 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