Re: theirs/ours was Re: [PATCH 6/6] Add a new test for using a custom merge strategy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Monday, July 28, 2008 - 4:27 pm

Hi,

On Mon, 28 Jul 2008, Jeff King wrote:


To me, this suggests that they were too married to 'production' being the 
"dominant" branch.

Thing is: they had two branches.  They should be merged, but one should 
prevail: 'master'.

So if I have two branches, say "x" and "y", and I want to merge them, but 
really throw away the tree of "x", I would check out 'y', naturally.  Then 
'git merge -s ours x'.

If the result should become the state of 'x', too, I would then just 
'git push origin y:x'.

Maybe I am "Git-braindead" by now, so that you can make fun of me like I 
used to make fun of CVSers and SVNers...

Ciao,
Dscho

--
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: theirs/ours was Re: [PATCH 6/6] Add a new test for usi ..., Johannes Schindelin, (Mon Jul 28, 12:09 pm)
Re: theirs/ours was Re: [PATCH 6/6] Add a new test for usi ..., Sverre Rabbelier, (Mon Jul 28, 12:48 pm)
Re: theirs/ours was Re: [PATCH 6/6] Add a new test for usi ..., Sverre Rabbelier, (Mon Jul 28, 12:52 pm)
Re: theirs/ours was Re: [PATCH 6/6] Add a new test for usi ..., Johannes Schindelin, (Mon Jul 28, 4:27 pm)
Re: theirs/ours was Re: [PATCH 6/6] Add a new test for usi ..., Johannes Schindelin, (Tue Jul 29, 4:05 am)