From: Phillip Wood <phillip.wood123@gmail.com>
To: David Jordanes <davidjordanes@outlook.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git interactive rebase does not allow editing commits at once anymore
Date: Thu, 30 Apr 2026 14:43:44 +0100 [thread overview]
Message-ID: <986ca9b2-2ad1-4b2e-a61f-3407fe5d5251@gmail.com> (raw)
In-Reply-To: <DB7PR03MB3881199B8D12CC7A981ADF0CA8352@DB7PR03MB3881.eurprd03.prod.outlook.com>
Hi David
On 30/04/2026 08:46, David Jordanes wrote:
> Git version: git version 2.53.0.windows.2
> OS: Windows 11
>
> Steps to reproduce:
> 1. Create a dummy repo
> 2. Create a couple of commits
> 2. Run git rebase -i HEAD~2
>
> Observed:
> Lines in todo appear as:
> pick <hash> # commit 1
> pick <hash> # commit 2
>
> After editing:
> reword <hash> commit A
> reword <hash> commit B
>
> Then git loops each commit to edit.
If you mean git opens the editor for you to edit the first commit
message and then when you close the editor it opens the second message,
it is working as it always has done. There is an external program called
"git-revise" which I believe lets you edit multiple commit message at
once though I've not used it myself.
Processing the commits one at a time lets you inspect the changes for
the commit you're editing the message for and if you have
"commit.verbose" enabled then git will show you the diff for the commit
below the commit message in the editor.
Thanks
Phillip
> Expected:
> After editing, all changes should be applied at once (no loop).
>
> Question:
> Is this intended behavior? By whom and why this flow was decided? What problem it solves? If I have to rebase interactively 10 or 15 commits I have to go through all those commits one by one???
prev parent reply other threads:[~2026-04-30 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-30 7:46 git interactive rebase does not allow editing commits at once anymore David Jordanes
2026-04-30 9:29 ` Junio C Hamano
2026-04-30 13:43 ` Phillip Wood [this message]
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=986ca9b2-2ad1-4b2e-a61f-3407fe5d5251@gmail.com \
--to=phillip.wood123@gmail.com \
--cc=davidjordanes@outlook.com \
--cc=git@vger.kernel.org \
--cc=phillip.wood@dunelm.org.uk \
/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