mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
git pull alias with rebase and submodules
This commit is contained in:
parent
be10a91277
commit
b1d71a53e9
2 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ plugins=(... git)
|
|||
| `gprav` | `git pull --rebase --autostash -v` |
|
||||
| `gprom` | `git pull --rebase origin $(git_main_branch)` |
|
||||
| `gpromi` | `git pull --rebase=interactive origin $(git_main_branch)` |
|
||||
| `gprs` | `git pull --rebase --recurse-submodules` |
|
||||
| `ggpull` | `git pull origin "$(git_current_branch)"` |
|
||||
| `ggl` | `git pull origin $(current_branch)` |
|
||||
| `gluc` | `git pull upstream $(git_current_branch)` |
|
||||
|
|
|
|||
|
|
@ -265,6 +265,7 @@ alias gpr='git pull --rebase'
|
|||
alias gprv='git pull --rebase -v'
|
||||
alias gpra='git pull --rebase --autostash'
|
||||
alias gprav='git pull --rebase --autostash -v'
|
||||
alias gprs='git pull --rebase --recurse-submodules'
|
||||
|
||||
function ggu() {
|
||||
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue