From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Git interactive rebase
Date: Tue, 04 Jan 2022 11:31:59 -0500 [thread overview]
Message-ID: <018A3061274740797BDD9D08F3DA27E0@eigenstate.org> (raw)
In-Reply-To: <87wnjgyhlb.fsf@turtle-trading.net>
Quoth Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>:
> 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
>
hold mode is slightly confusing -- only the text
you enter gets sent, the text that gets printed
is there as a prompt.
We should think about how to improve this.
next prev parent reply other threads:[~2022-01-04 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-03 15:17 Benjamin Riefenstahl
2022-01-04 16:31 ` ori [this message]
2022-01-04 18:24 ` Benjamin Riefenstahl
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=018A3061274740797BDD9D08F3DA27E0@eigenstate.org \
--to=ori@eigenstate.org \
--cc=9front@9front.org \
/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;
as well as URLs for NNTP newsgroup(s).