Re: [PATCH] git-rebase--interactive.sh: Add new command "shell"
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 4, 2010, 18:10 UTC
- Message-ID
- <20101104181020.GB16431@burratino>
- In-Reply-To
- <vpq62wddmc0.fsf@bauges.imag.fr>
Matthieu Moy wrote:
> # e <commit>, edit <commit> = use commit, but stop for amending > # e, edit = stop for amending
Before it said:
# Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for amending # s, squash = use commit, but meld into previous commit # f, fixup = like "squash", but discard this commit's log message # x <cmd>, exec <cmd> = Run a shell command <cmd>, and stop if it fails # # If you remove a line here THAT COMMIT WILL BE LOST. # However, if you remove everything, the rebase will be aborted.
How about:
# Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for amending # s, squash = use commit, but meld into previous commit # f, fixup = like "squash", but discard this commit's log message # x, exec = run command using shell, and stop if it fails # # The argument to edit is optional; if left out, it means to # stop to examine or amend the previous commit. # # If you remove a line here, THAT COMMIT WILL BE LOST. # However, if you remove everything, the rebase will be aborted. # Use the noop command if you really want to remove all commits.
Ciao, Jonathan who is happy to help paint today