Re: [PATCHv5] rebase [-i --exec | -ix] <CMD>...
From: Zbigniew Jędrzejewski-Szmek <hidden>
Date: 2016-06-15 22:54:03
On 06/12/2012 10:05 AM, Lucien Kong wrote:
+-x <cmd>:: +--exec <cmd>:: + Append "exec <cmd>" after each commit application line. <cmd> + will be interpreted as one or more shell commands (see + INTERACTIVE MODE below). ++ +This option has to be used along with the `--interactive` option +explicitly. You may execute several commands between each commit +applications. For this, you can use one instance of exec:
Hi, this is still grammatically fishy, and has "between each commit applications", which was corrected above, but not here.
+ git rebase -i --exec "cmd1; cmd2; ...". ++ +You can also insert several instances of exec, if you wish to only +have one command per line. For example:
s/instances of exec/instances of --exec/
+ git rebase -i --exec "cmd1" --exec "cmd2" ... ++ +If --autosquash is used, the "exec" lines will not be appended for the +intermediate commits, and will only appear at the end of each +squash/fixup series. +
Zbyszek