Browse Source

git: add pull rebase --autostash aliases (#6791)

Poyoman 6 years ago
parent
commit
3d2542f41b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/git/git.plugin.zsh

+ 2 - 0
plugins/git/git.plugin.zsh

@@ -248,6 +248,8 @@ alias gunignore='git update-index --no-assume-unchanged'
 alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
 alias gup='git pull --rebase'
 alias gupv='git pull --rebase -v'
+alias gupa='git pull --rebase --autostash'
+alias gupav='git pull --rebase --autostash -v'
 alias glum='git pull upstream master'
 
 alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'