{"thread":{"id":"13982","subject":"Newbie question about making a bare repository","startedAt":"2008-06-16T18:57:42Z","lastAt":"2008-06-20T20:53:06Z","messageCount":3,"participants":["D. Stuart Freeman","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"80056","messageId":"4856B7A6.50508@et.gatech.edu","threadId":"13982","inReplyTo":null,"subject":"Newbie question about making a bare repository","fromName":"D. Stuart Freeman","fromEmail":"stuart.freeman@et.gatech.edu","sentAt":"2008-06-16T18:57:42Z","receivedAt":"2008-06-16T18:57:42Z","isPatch":false,"sender":{"key":"stuart.freeman@et.gatech.edu","avatar":"https://gravatar.com/avatar/d2c9483eaa2fa28008c84e68b765886b118c445b1ddf2ad0d0fe7ba814127a9a?d=mp&s=160"},"body":"I have a repository that I made with 'git-svn clone' that I'd like to\nmake bare but retain the svn info.  Would I just change the \"bare\" in\n.git/config to true?  Is there anything I have to do to remove the\nworking copy info?\n\nI plan to do this so that a co-worker and I can clone the git repo, and\npush our changes back to it, and maintain the \"proxy\" to svn from that\ncentral location.\n\n-- \nD. Stuart Freeman\nGeorgia Institute of Technology\n\n\nbegin:vcard\nfn:D. Stuart Freeman\nn:Freeman;Douglas\nemail;internet:stuart.freeman@et.gatech.edu\ntel;work:(404)385-1473\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"},{"id":"80072","messageId":"20080616205719.GI29404@genesis.frugalware.org","threadId":"13982","inReplyTo":"4856B7A6.50508@et.gatech.edu","subject":"Re: Newbie question about making a bare repository","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-06-16T20:57:19Z","receivedAt":"2008-06-16T20:57:19Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Mon, Jun 16, 2008 at 02:57:42PM -0400, \"D. Stuart Freeman\" <stuart.freeman@et.gatech.edu> wrote:\n> I have a repository that I made with 'git-svn clone' that I'd like to\n> make bare but retain the svn info.  Would I just change the \"bare\" in\n> .git/config to true?  Is there anything I have to do to remove the\n> working copy info?\n\nchange it in foo/.git/config and mv foo/.git foo.git\n\nalso don't forget that you'll need 'git --bare svn foo' instead of 'git\nsvn foo' from now.\n"},{"id":"80516","messageId":"485C18B2.1060801@et.gatech.edu","threadId":"13982","inReplyTo":"4856B7A6.50508@et.gatech.edu","subject":"Re: Newbie question about making a bare repository","fromName":"D. Stuart Freeman","fromEmail":"stuart.freeman@et.gatech.edu","sentAt":"2008-06-20T20:53:06Z","receivedAt":"2008-06-20T20:53:06Z","isPatch":false,"sender":{"key":"stuart.freeman@et.gatech.edu","avatar":"https://gravatar.com/avatar/d2c9483eaa2fa28008c84e68b765886b118c445b1ddf2ad0d0fe7ba814127a9a?d=mp&s=160"},"body":"D. Stuart Freeman wrote:\n> I have a repository that I made with 'git-svn clone' that I'd like to\n> make bare but retain the svn info.  Would I just change the \"bare\" in\n> .git/config to true?  Is there anything I have to do to remove the\n> working copy info?\n> \n> I plan to do this so that a co-worker and I can clone the git repo, and\n> push our changes back to it, and maintain the \"proxy\" to svn from that\n> central location.\n> \n\nI think I've found a flaw in my plan.  Now that the repo is bare I can't\nget any changes from upstream.  I run 'git --bare svn fetch' and that\nworks, but then I have no way to rebase those changes into a local\nbranch because I don't have a working copy.  Is there a way to see a\nremote repo's remotes, and merge/rebase from there?\n\n-- \nD. Stuart Freeman\nGeorgia Institute of Technology\n\n\nbegin:vcard\nfn:D. Stuart Freeman\nn:Freeman;Douglas\nemail;internet:stuart.freeman@et.gatech.edu\ntel;work:(404)385-1473\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"}]}