mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
add submodules in gfa/gpr
This commit is contained in:
parent
f5f4796902
commit
88aa25e3a7
2 changed files with 2 additions and 357 deletions
|
|
@ -36,7 +36,7 @@ compdef _git gdv=git-diff
|
|||
alias gp='git pull'
|
||||
compdef _git gl=git-pull
|
||||
# Git pull and rebase
|
||||
alias gpr='git pull --rebase'
|
||||
alias gpr='git pull --rebase --recurse-submodules'
|
||||
compdef _git gpr=git-pull
|
||||
# Git rebase current master branch against master branch on upstream
|
||||
alias gprum='git pull --rebase upstream master'
|
||||
|
|
@ -82,7 +82,7 @@ alias gfa='git fetch --all'
|
|||
compdef _git gfa='git-fetch'
|
||||
# reset your work to the latest status of the code base (and fetch all other branches).
|
||||
# (git fetch all branch and rebase)
|
||||
alias gfagpr='git fetch --all && git pull --rebase'
|
||||
alias gfagpr='git fetch --all --recurse-submodules && git pull --rebase --recurse-submodules'
|
||||
compdef _git gfagpr='git-pull'
|
||||
alias gfgpr='git fetch && git pull --rebase'
|
||||
compdef _git gfgpr='git-pull'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue