From: Junio C Hamano Date: Mon, 15 Jun 2026 02:01:48 GMT Subject: Re: [PATCH 0/2] rebase: add --fixup to fold a range into its oldest commit Message-ID: In-Reply-To: "Harald Nordgren via GitGitGadget" writes: > Adds git rebase --autosquash --fixup [] to fold a range of commits > into its oldest one, reusing that commit's message. [2/2] seems to add "--fixup-all" but I agree with the "related idea" that naming it and modelling it after "merge --squash" would be easier to understand. > Related idea: https://github.com/gitgitgadget/git/issues/1135 I also wonder if we can do something like this without adding any new option or command. E.g., if you have four patch series, where the initial implementation HEAD~3 is followed by "oops it was still wrong" fix-up HEAD~2, HEAD~1 and HEAD, then git reset --soft HEAD~3 && git commit --amend --no-edit is what the user wants to do, no?