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.