From 040aadf7c460112386d23786d8d3f5d2dcfbfeb4 Mon Sep 17 00:00:00 2001 From: John Delgado Date: Mon, 15 Mar 2021 20:06:01 +0100 Subject: [PATCH] feat(git): add `grbo` alias for `git rebase --onto` (#8088) --- plugins/git/README.md | 1 + plugins/git/git.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/git/README.md b/plugins/git/README.md index 029386267..6ad19543e 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -124,6 +124,7 @@ plugins=(... git) | grbd | git rebase develop | | grbi | git rebase -i | | grbm | git rebase $(git_main_branch) | +| grbo | git rebase --onto | | grbs | git rebase --skip | | grev | git revert | | grh | git reset | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 2f97dbc92..8167980fa 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -224,6 +224,7 @@ alias grbc='git rebase --continue' alias grbd='git rebase develop' alias grbi='git rebase -i' alias grbm='git rebase $(git_main_branch)' +alias grbo='git rebase --onto' alias grbs='git rebase --skip' alias grev='git revert' alias grh='git reset'