git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Make a non-bare repo bare.

From
Tim Visher <tim.visher@gmail.com>
Date
Jul 16, 2009, 00:54 UTC
Message-ID
<c115fd3c0907151754o55acec54ocdcdebe177b3c9c4@mail.gmail.com>
In-Reply-To
<4A5E4EBA.4050708@gnu.org>
On Wed, Jul 15, 2009 at 5:48 PM, Paolo Bonzini<bonzini@gnu.org> wrote:
Show 6 quoted lines
> On 07/15/2009 11:43 PM, Tim Visher wrote:
>> 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!).
Thanks, Paolo.
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Previous: Paolo BonziniNext: Jeff King
Message 3 of 13 in “Make a non-bare repo bare.”
  1. Tim VisherJul 15, 2009
  2. Paolo BonziniJul 15, 2009
  3. Tim VisherJul 16, 2009
  4. Jeff KingJul 16, 2009
  5. Junio C HamanoJul 16, 2009
  6. Graeme GeldenhuysJul 16, 2009
  7. Mike RalphsonJul 16, 2009
  8. Junio C HamanoJul 16, 2009
  9. Sitaram ChamartyJul 17, 2009
  10. Sitaram ChamartyJul 16, 2009
  11. Tim VisherJul 16, 2009
  12. Junio C HamanoJul 16, 2009
  13. Sitaram ChamartyJul 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.