Add --autostash to "gpl" command.

This commit is contained in:
Gea-Suan Lin
2021-03-05 02:10:17 +08:00
parent 37155bafe1
commit 76eadd8c64
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ alias docker.cleanps="docker ps --all | grep Exited | awk '{print \$1}' | xargs
alias f="finger" alias f="finger"
alias g="grep --color=auto" alias g="grep --color=auto"
alias gph="git push -v --follow-tags" alias gph="git push -v --follow-tags"
alias gpl="git pull -v --rebase --recurse-submodules" alias gpl="git pull -v --autostash --rebase --recurse-submodules"
alias l="last" alias l="last"
alias lo="logout" alias lo="logout"
alias m="more" alias m="more"

2
.zshrc
View File

@@ -14,7 +14,7 @@ alias "docker.cleanps=docker ps --all | grep Exited | awk '{print \$1}' | xargs
alias "f=finger" alias "f=finger"
alias "g=grep --color=auto" alias "g=grep --color=auto"
alias "gph=git push -v --follow-tags" alias "gph=git push -v --follow-tags"
alias "gpl=git pull -v --rebase --recurse-submodules" alias "gpl=git pull -v --autostash --rebase --recurse-submodules"
alias "l=last" alias "l=last"
alias "lo=logout" alias "lo=logout"
alias "m=more" alias "m=more"