[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Merging with git-svn - how about this?
From:       Andrew Sayers <andrew-git () pileofstuff ! org>
Date:       2010-05-31 15:34:12
Message-ID: 4C03D6F4.2010204 () pileofstuff ! org
[Download RAW message or body]

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic