public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Julien Maurel <julien@maurel.me>
Cc: Johannes Sixt <j6t@kdbg.org>, git@vger.kernel.org
Subject: Re: Question about merge & cherry pick
Date: Thu, 7 Nov 2024 12:02:05 +0000	[thread overview]
Message-ID: <ZyysPeBRXvTAxLVf@tapette.crustytoothpaste.net> (raw)
In-Reply-To: <a129e967-efba-48ba-b5a0-1abbb0af5c9d@maurel.me>

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

On 2024-11-07 at 10:32:06, Julien Maurel wrote:
> Ok, I didn't have this vision about how merge is apply, thanks.
> There is no option to merge by considering each commit individually ?
> Rebase do it but not applicable in my case :)

There's no way to do a merge commit-by commit.  The recommendation is to
do a rebase, since it essentially does a commit-by-commit merge under the
hood (due to using the merge machinery).  The title of the FAQ entry at
[0] doesn't perfectly describe your case, but it does sort of explain it
and it explains how the merge and rebase machinery works.

[0] https://git-scm.com/docs/gitfaq#merge-two-revert-one
-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2024-11-07 12:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 20:24 Question about merge & cherry pick Julien Maurel
2024-11-07  6:37 ` Johannes Sixt
2024-11-07 10:32   ` Julien Maurel
2024-11-07 12:02     ` brian m. carlson [this message]
2024-11-07 17:18     ` Johannes Sixt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZyysPeBRXvTAxLVf@tapette.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=j6t@kdbg.org \
    --cc=julien@maurel.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox