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

Re: Correct way of making existing remote repository "bare"

From
EREric Raible <raible@gmail.com>
Date
Jul 16, 2009, 07:59 UTC
Message-ID
<loom.20090716T074910-226@post.gmane.org>
In-Reply-To
<alpine.DEB.1.00.0907151607050.4410@intel-tinevez-2-302>
Johannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:
Show 6 quoted lines
> That's the easiest.  However, I regularly avoid those steps by doing
> 
> 	mv bla/.git bla.git
> 	git --git-dir=bla.git config core.bare true
> 	rm -rf bla
> 
Is it simpler and more complete to do this?
	git config core.bare true
	git config core.logAllRefUpdates
	mv bla/.git bla.git
	rm -rf bla
Previous: Graeme GeldenhuysNext: Dirk Süsserott
Message 5 of 7 in “Correct way of making existing remote repository "bare"”
  1. Graeme GeldenhuysJul 15, 2009
  2. Johannes SchindelinJul 15, 2009
  3. Dirk SüsserottJul 15, 2009
  4. Graeme GeldenhuysJul 15, 2009
  5. Eric RaibleJul 16, 2009
  6. Dirk SüsserottJul 15, 2009
  7. Junio C HamanoJul 15, 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.