Browse Source

feat(git): add `grbo` alias for `git rebase --onto` (#8088)

John Delgado 4 years ago
parent
commit
040aadf7c4
2 changed files with 2 additions and 0 deletions
  1. 1 0
      plugins/git/README.md
  2. 1 0
      plugins/git/git.plugin.zsh

+ 1 - 0
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                                                                                                                        |

+ 1 - 0
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'