login
Header Space

 
 

Re: git-svn merge helper

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Björn <B.Steinbrink@...>
Cc: <git@...>
Date: Tuesday, October 2, 2007 - 6:04 pm

On Tue, Oct 02, 2007 at 11:14:00PM +0200, Björn Steinbrink wrote:

When I want to do something like this, I go about it one of two ways.
The first option is to simply rebase mybranch onto master.  Since my
feature branches are not usually published, there is no problem
rewinding them.  That may not be an option for you, however.

The other option is to have a "build" branch.  By example:

git checkout build
git reset --hard master
git merge mybranch
make

In that way, I have branch with the latest changes from head and the
changes from mybranch together.  The downside to this method is that you
may have to repeated resolve merges.  Despite the downsides, I find
these two methods to work quite well.
-- 
-Steven Walter <stevenrwalter@gmail.com>
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects."
   -Robert Heinlein
-
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:
Re: git-svn merge helper, Björn, (Tue Oct 2, 5:14 pm)
Re: git-svn merge helper, Steven Walter, (Tue Oct 2, 6:04 pm)
Re: git-svn merge helper, Björn, (Tue Oct 2, 6:38 pm)
Re: git-svn merge helper, Steven Walter, (Tue Oct 2, 8:42 pm)
Re: git-svn merge helper, Björn, (Tue Oct 2, 9:02 pm)
Re: git-svn merge helper, Andreas Ericsson, (Wed Oct 3, 7:40 am)
speck-geostationary