[PATCH 0/2] rebase: add --fixup to fold a range into its oldest commit
- From
Harald Nordgren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jun 14, 2026, 19:25 UTC
- Message-ID
- <pull.2337.git.git.1781465141.gitgitgadget@gmail.com>
Adds git rebase --autosquash --fixup [<upstream>] to fold a range of commits into its oldest one, reusing that commit's message.
Related idea: https://github.com/gitgitgadget/git/issues/1135
Harald Nordgren (2): t3415: remove prepare-commit-msg hook after use rebase: add --fixup-all to fold a range
Documentation/git-rebase.adoc | 11 ++++ builtin/rebase.c | 13 ++++- sequencer.c | 24 +++++++- sequencer.h | 2 +- t/t3415-rebase-autosquash.sh | 106 ++++++++++++++++++++++++++++++++++ 5 files changed, 152 insertions(+), 4 deletions(-)
base-commit: ea97ad8d017de0c9037451a78008a0fd60abea0c Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2337%2FHaraldNordgren%2Frebase-fixup-fold-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2337/HaraldNordgren/rebase-fixup-fold-v1 Pull-Request: https://github.com/git/git/pull/2337
-- gitgitgadget