Re: git merge after git cherry-pick?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Valdemar <4ux6as402@...>
Cc: <git@...>
Date: Wednesday, July 23, 2008 - 1:56 pm

On Wed, Jul 23, 2008 at 07:14:49PM +0200, "Peter Valdemar Mørch (Lists)" wrote:
You could use 'git rebase' for that.

e.g. now the history of your master and b branches look like this:

  o---X---b1'---b3'---Y   master
   \
    b1---b2---b3---b4   b

The command 'git rebase master b' will then turn this history into the
following:

  o---X---b1'---b3'---Y   master
                       \
                        b2---b4   b

After this 'git merge b' will do what you would like it to do.


Regards,
Gábor

--
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 merge after git cherry-pick?, "Peter Valdemar Mørch (Lists)"..., (Wed Jul 23, 1:14 pm)
Re: git merge after git cherry-pick?, Jakub Narebski, (Wed Jul 23, 1:56 pm)
Re: git merge after git cherry-pick?, SZEDER , (Wed Jul 23, 1:56 pm)
Re: git merge after git cherry-pick?, "Peter Valdemar Mørch (Lists)"..., (Wed Jul 23, 3:35 pm)