mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
BOOM two new awesome levels before rebase 9000
This commit is contained in:
parent
542d68a975
commit
d4d7fb21c7
11 changed files with 612 additions and 29 deletions
|
@ -413,7 +413,8 @@ commandConfig = {
|
|||
rebase: {
|
||||
sc: /^gr($|\s)/,
|
||||
options: [
|
||||
'-i'
|
||||
'-i',
|
||||
'--aboveAll'
|
||||
],
|
||||
regex: /^git +rebase($|\s)/,
|
||||
execute: function(engine, command) {
|
||||
|
@ -423,7 +424,12 @@ commandConfig = {
|
|||
if (commandOptions['-i']) {
|
||||
var args = commandOptions['-i'];
|
||||
command.twoArgsImpliedHead(args, ' -i');
|
||||
engine.rebaseInteractive(args[0], args[1]);
|
||||
engine.rebaseInteractive(
|
||||
args[0],
|
||||
args[1], {
|
||||
aboveAll: !!commandOptions['--aboveAll']
|
||||
}
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue