diff --git a/plugins/git/README.md b/plugins/git/README.md index 255a7bf2a..7567c5297 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -150,6 +150,8 @@ plugins=(... git) | `grba` | `git rebase --abort` | | `grbc` | `git rebase --continue` | | `grbi` | `git rebase --interactive` | +| `grbmi` | `git rebase $(git_main_branch) --interactive` | +| `grbmia` | `git rebase $(git_main_branch) --interactive --autosquash` | | `grbo` | `git rebase --onto` | | `grbs` | `git rebase --skip` | | `grbd` | `git rebase $(git_develop_branch)` | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 967ece898..2e617d068 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -338,6 +338,8 @@ alias grbs='git rebase --skip' alias grbd='git rebase $(git_develop_branch)' alias grbm='git rebase $(git_main_branch)' alias grbom='git rebase origin/$(git_main_branch)' +alias grbmi='git rebase $(git_main_branch) --interactive' +alias grbmia='git rebase $(git_main_branch) --interactive --autosquash' alias grf='git reflog' alias gr='git remote' alias grv='git remote --verbose'