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

Re: Newbie question about making a bare repository

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jun 16, 2008, 20:57 UTC
Message-ID
<20080616205719.GI29404@genesis.frugalware.org>
In-Reply-To
<4856B7A6.50508@et.gatech.edu>
On Mon, Jun 16, 2008 at 02:57:42PM -0400, "D. Stuart Freeman" <stuart.freeman@et.gatech.edu> wrote:
> I have a repository that I made with 'git-svn clone' that I'd like to
> make bare but retain the svn info.  Would I just change the "bare" in
> .git/config to true?  Is there anything I have to do to remove the
> working copy info?
change it in foo/.git/config and mv foo/.git foo.git

also don't forget that you'll need 'git --bare svn foo' instead of 'git svn foo' from now.

Previous: D. Stuart FreemanNext: D. Stuart Freeman
Message 2 of 3 in “Newbie question about making a bare repository”
  1. D. Stuart FreemanJun 16, 2008
  2. Miklos VajnaJun 16, 2008
  3. D. Stuart FreemanJun 20, 2008

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.