feat(plugins): add gpr alias for /git pull -rebase/ which is easier to remember (#9964)

This commit is contained in:
Daniel Wu 2021-06-12 21:06:09 +08:00 committed by GitHub
parent f68d65d32a
commit 9bdbe08aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -116,6 +116,7 @@ plugins=(... git)
| gpf | git push --force-with-lease | | gpf | git push --force-with-lease |
| gpf! | git push --force | | gpf! | git push --force |
| gpoat | git push origin --all && git push origin --tags | | gpoat | git push origin --all && git push origin --tags |
| gpr | git pull --rebase |
| gpu | git push upstream | | gpu | git push upstream |
| gpv | git push -v | | gpv | git push -v |
| gr | git remote | | gr | git remote |

View file

@ -215,6 +215,7 @@ alias gpd='git push --dry-run'
alias gpf='git push --force-with-lease' alias gpf='git push --force-with-lease'
alias gpf!='git push --force' alias gpf!='git push --force'
alias gpoat='git push origin --all && git push origin --tags' alias gpoat='git push origin --all && git push origin --tags'
alias gpr='git pull --rebase'
alias gpu='git push upstream' alias gpu='git push upstream'
alias gpv='git push -v' alias gpv='git push -v'