Web lists-archives.com

[RFE] Allow for "interactive"-like actions in non-interactive rebase

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