From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 495 invoked from network); 3 Jan 2022 16:31:54 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 3 Jan 2022 16:31:54 -0000 Received: from odoacer.turtle-trading.net ([93.241.193.16]) by 4ess; Mon Jan 3 11:22:46 -0500 2022 Received: from zenobia.turtle-trading.net ([192.168.2.111]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1n4P56-00032j-QT; Mon, 03 Jan 2022 16:17:04 +0100 Received: from benny by zenobia.turtle-trading.net with local (Exim 4.94.2) (envelope-from ) id 1n4P56-000Txd-IP; Mon, 03 Jan 2022 16:17:04 +0100 From: Benjamin Riefenstahl To: 9front@9front.org Date: Mon, 03 Jan 2022 16:17:04 +0100 Message-ID: <87wnjgyhlb.fsf@turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: overflow-preventing scale-out core self-signing callback locator Subject: [9front] Git interactive rebase Reply-To: 9front@9front.org Precedence: bulk Hi all, I would like to fix git commit messages and structure of my local branch. In particular I want to squash the last two commits. * So I try "git/rebase -i hash". * The window text turns blue (this is called hold-mode, I believe) and I edit the todo-list to have the last commit "squash". * I go back to the last line and press ESC and than Control-D. * I get returned to the prompt. * When I check the history, the last two commits are gone. What I expected was that after editing the todo-list I get thrown into the hold-mode again where I can edit the commit message. What am I doing wrong? TIA, benny