threads / discuss / 23952

Merging with git-svn - how about this?

Subject: Merging with git-svn - how about this?

## tl;dr

One message between May 31, 2010 and May 31, 2010.

replies: 0people: 1as markdown or json

Andrew Sayers· May 31, 2010, 15:34 UTC · lore

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

← back to recent threads