Re: [PATCH v2 0/2] rebase: add --squash to fold a range into its first commit
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Jun 17, 2026, 09:48 UTC
- Message-ID
- <fa4a6793-5114-4b12-a60b-ea79a7b3f632@gmail.com>
- In-Reply-To
- <CAHwyqnV_pt1fEhUGPyGtXrJAwhjpQHOyX9juHRv_88T2md554Q@mail.gmail.com>
On 17/06/2026 10:11, Harald Nordgren wrote:
Show 13 quoted lines
> On Tue, Jun 16, 2026 at 12:10 PM Phillip Wood <phillip.wood123@gmail.com> wrote: >> On 15/06/2026 09:37, Harald Nordgren via GitGitGadget wrote: >>> Rename to rebase --squash. >> >> Please include the original cover letter as well so people who have not >> read the previous version know what the series is about. > > So you mean this one, should that be included in each version, and > append each subsequent one: > > ``` > Adds `git rebase --autosquash --fixup [<upstream>]` to fold a range of > commits into its oldest one, reusing that commit's message.
Yes, see https://lore.kernel.org/20260615-b4-pks-history-drop-v6-0-2e329e536d78@pks.im for an example and the "Cover Letter" section of Documentation/SubmittingPatches
Thanks
Phillip
Show 11 quoted lines
> > Related idea: https://github.com/gitgitgadget/git/issues/1135 > ``` > > Or make each message a full cover letter instead of just a diff? > > > > > Harald >