login
Header Space

 
 

Re: git-svn, merging et al.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nigel Magnay <nigel.magnay@...>
Cc: git <git@...>
Date: Friday, May 16, 2008 - 1:40 pm

On May 16, 2008, at 11:50 AM, Nigel Magnay wrote:


That merge command will produce a single commit, which isn't what you  
want. format-patch + am should work to linearize history, but you  
could also use rebase.

I recommend trying something like

   git checkout -b test svn-branch && git format-patch svn-branch..git- 
branch | git am

Then you can examine your test branch to make sure it's linear, make  
sure it compiles and looks good, then if it's good merge that into svn- 
branch (which will be a fast-forward).

-Kevin Ballard

-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com


--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn, merging et al., Nigel Magnay, (Fri May 16, 11:50 am)
Re: git-svn, merging et al., Kevin Ballard, (Fri May 16, 1:40 pm)
Re: git-svn, merging et al., Nigel Magnay, (Mon May 19, 5:14 am)
speck-geostationary