feat(git): Add alias for rebasing to origin/main-branch (#10445)

This commit is contained in:
Markus Hofbauer 2021-11-27 20:30:03 +01:00 committed by GitHub
parent 8e5f3db305
commit 58478d0888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,7 @@ plugins=(... git)
| grbd | git rebase $(git_develop_branch) | | grbd | git rebase $(git_develop_branch) |
| grbi | git rebase -i | | grbi | git rebase -i |
| grbm | git rebase $(git_main_branch) | | grbm | git rebase $(git_main_branch) |
| grbom | git rebase origin/$(git_main_branch) |
| grbo | git rebase --onto | | grbo | git rebase --onto |
| grbs | git rebase --skip | | grbs | git rebase --skip |
| grev | git revert | | grev | git revert |

View File

@ -251,6 +251,7 @@ alias grbc='git rebase --continue'
alias grbd='git rebase $(git_develop_branch)' alias grbd='git rebase $(git_develop_branch)'
alias grbi='git rebase -i' alias grbi='git rebase -i'
alias grbm='git rebase $(git_main_branch)' alias grbm='git rebase $(git_main_branch)'
alias grbom='git rebase origin/$(git_main_branch)'
alias grbo='git rebase --onto' alias grbo='git rebase --onto'
alias grbs='git rebase --skip' alias grbs='git rebase --skip'
alias grev='git revert' alias grev='git revert'