From: Konstantin Kharlamov <hi-angel@yandex.ru>
To: Git List <git@vger.kernel.org>
Subject: [RFE] Allow for "interactive"-like actions in non-interactive rebase
Date: Fri, 03 May 2019 18:04:15 +0300 [thread overview]
Message-ID: <1556895855.30374.0@yandex.ru> (raw)
Interactive rebase (i.e. for example "git rebase -i HEAD~10") is used
most often to apply an action to a single commit, e.g. "rename",
"edit", "fixup", etc…
As result, people keep coming up with custom scripts and aliases for
every distinct action.
Instead, it would be nice to have native support in git to start
"rebase" for a given commit, and pass the "interactive action" to use
on that commit. Examples:
$ git rebase -i HEAD~10 --action edit
$ git rebase -i HEAD~10 --action rename
$ git rebase -i HEAD~10 --action fixup
next reply other threads:[~2019-05-03 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 15:04 Konstantin Kharlamov [this message]
2019-05-06 20:30 ` [RFE] Allow for "interactive"-like actions in non-interactive rebase Emily Shaffer
2019-05-06 22:25 ` Eric Sunshine
2019-05-07 0:02 ` Konstantin Kharlamov
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=1556895855.30374.0@yandex.ru \
--to=hi-angel@yandex.ru \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.