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

Merging with git-svn - how about this?

From
ASAndrew Sayers <andrew-git@pileofstuff.org>
Date
May 31, 2010, 15:34 UTC
Message-ID
<4C03D6F4.2010204@pileofstuff.org>

I'm writing up a wiki page based on the "best way to make my company migrate to Git" thread from earlier this month, and I'd like to recommend something for merging (beyond the standard "don't do it"). Here's what I'm planning to write - I'd appreciate any suggestions or advice people have:

To merge from $from_branch to $to_branch with git-svn, do:

git checkout $to_branch@{0} git merge --no-ff $from_branch # Fix any merge conflicts, `git add`, `git commit` etc. git checkout $to_branch git cherry-pick -m 1 HEAD@{1}

	- Andrew
Message 1 of 1 in “Merging with git-svn - how about this?”
  1. Andrew SayersMay 31, 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.