git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Merging with git-svn - how about this?
@ 2010-05-31 15:34 Andrew Sayers
  0 siblings, 0 replies; only message in thread
From: Andrew Sayers @ 2010-05-31 15:34 UTC (permalink / raw
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-31 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-31 15:34 Merging with git-svn - how about this? Andrew Sayers

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).