Re: [PATCHv5] rebase [-i --exec | -ix] <CMD>...
- From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
- Date
- Jun 12, 2012, 09:23 UTC
- Message-ID
- <4FD70A8E.7050502@in.waw.pl>
- In-Reply-To
- <1339488312-6349-1-git-send-email-Lucien.Kong@ensimag.imag.fr>
On 06/12/2012 10:05 AM, Lucien Kong wrote:
Show 9 quoted lines
> +-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/
Show 6 quoted lines
> + 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