All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFE] Allow for "interactive"-like actions in non-interactive rebase
@ 2019-05-03 15:04 Konstantin Kharlamov
  2019-05-06 20:30 ` Emily Shaffer
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Kharlamov @ 2019-05-03 15:04 UTC (permalink / raw)
  To: Git List

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-07  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-03 15:04 [RFE] Allow for "interactive"-like actions in non-interactive rebase Konstantin Kharlamov
2019-05-06 20:30 ` Emily Shaffer
2019-05-06 22:25   ` Eric Sunshine
2019-05-07  0:02     ` Konstantin Kharlamov

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.