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

Re: Newbie question about making a bare repository

From
D. Stuart Freeman <stuart.freeman@et.gatech.edu>
Date
Jun 20, 2008, 20:53 UTC
Message-ID
<485C18B2.1060801@et.gatech.edu>
In-Reply-To
<4856B7A6.50508@et.gatech.edu>
D. Stuart Freeman wrote:
Show 9 quoted lines
> 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?
> 
> I plan to do this so that a co-worker and I can clone the git repo, and
> push our changes back to it, and maintain the "proxy" to svn from that
> central location.
> 

I think I've found a flaw in my plan. Now that the repo is bare I can't get any changes from upstream. I run 'git --bare svn fetch' and that works, but then I have no way to rebase those changes into a local branch because I don't have a working copy. Is there a way to see a remote repo's remotes, and merge/rebase from there?

-- 
D. Stuart Freeman
Georgia Institute of Technology


begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard
Previous: Miklos Vajna
Message 3 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.