mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
fix gpr and define gprs to update submods
This commit is contained in:
parent
666cb354bb
commit
7ab5a451a8
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ compdef _git gdv=git-diff
|
|||
alias gp='git pull'
|
||||
compdef _git gl=git-pull
|
||||
# Git pull and rebase
|
||||
alias gpr='git pull --rebase --recurse-submodules'
|
||||
alias gpr='git pull --rebase'
|
||||
alias gprs='git pull --rebase && git submodule update --remote'
|
||||
compdef _git gpr=git-pull
|
||||
# Git rebase current master branch against master branch on upstream
|
||||
alias gprum='git pull --rebase --recurse-submodules upstream master'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue