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

Re: Git and svn as target

From
Matthias Fechner <idefix@fechner.net>
Date
Jun 14, 2010, 16:35 UTC
Message-ID
<4C165A60.2010508@fechner.net>
In-Reply-To
<AANLkTino5sVtNEFV5_nGi9NmlhBCc0-_4NhTZwKdDzho@mail.gmail.com>
Hi,
Am 10.06.10 09:11, schrieb Avery Pennarun:
Show 7 quoted lines
> Right. I actually like it that way much more than I like rebasing
> onto master, but that's a matter of opinion, of course.  Another
> option would be to simply do "git svn dcommit" from the 'test' branch
> rather than merging it into master first.  (This essentially asks
> git-svn to do your rebasing for you, so it's roughly the same thing as
> merge-rebase-dcommit.)
>    

thanks, I got it working with the following sequence: git svn fetch git svn rebase git branch test git checkout test several commit with commit messages git checkout master git svn fetch git svn rebase git rebase --interactive --preserve-merges test git svn dcommit

Now I can see all local git commit as commits to the svn repository.

Bye, Matthias

-- 
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Previous: Avery Pennarun
Message 4 of 4 in “Git and svn as target”
  1. Matthias FechnerJun 10, 2010
  2. Peter BaumannJun 10, 2010
  3. Avery PennarunJun 10, 2010
  4. Matthias FechnerJun 14, 2010

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.