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

Re: git-svn and distributed git

From
VJVäinö Järvelä <v@pp.inet.fi>
Date
Jul 31, 2007, 12:31 UTC
Message-ID
<52536EC3-C82C-4919-979A-9DE63BEF8C8C@pp.inet.fi>
In-Reply-To
<65B05BC3-2BC2-4451-87C2-940113C55287@pp.inet.fi>
On Jul 31, 2007, at 12:42, Väinö Järvelä wrote:
Show 6 quoted lines
> I have thought about using two branches on the server, master,  
> which will only include commits already processed through git-svn,  
> and dev, which is used to pull the "local" changes to be committed  
> to Subversion. But my inexperience with git got me here, and I  
> can't seem to be able to get any updates from the other branch. And  
> I'm not even sure if this is the right approach to this problem.

I got the branched situation to work. I was just pushing and pulling wrong when it didn't work. I guess I didn't understand the documentation well enough to fiddle around with remotes.

I got the branching to work with simple commands: server$ git push origin dev laptop$ git pull server dev laptop$ git-svn dcommit && git push server && git branch -r -d dev server$ git checkout master && git pull origin && git branch -D dev

But that's a lot of commands, am I still missing something with the branching?

Regards, Väinö

Previous: Väinö Järvelä
Message 2 of 2 in “git-svn and distributed git”
  1. Väinö JärveläJul 31, 2007
  2. Väinö JärveläJul 31, 2007

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.