diff options
author | Daniel Wu <daniel.y.woo@gmail.com> | 2021-06-12 21:06:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 06:06:09 -0700 |
commit | 9bdbe08aa2c2ba4106f17082a9ee303b51167ba1 (patch) | |
tree | b3c7bed14f85f78dca81fa9530de0cc4206b31a2 | |
parent | f68d65d32a4fce41f08ac229614b7e46baf5e916 (diff) | |
download | zsh-9bdbe08aa2c2ba4106f17082a9ee303b51167ba1.tar.gz zsh-9bdbe08aa2c2ba4106f17082a9ee303b51167ba1.tar.bz2 zsh-9bdbe08aa2c2ba4106f17082a9ee303b51167ba1.zip |
feat(plugins): add gpr alias for /git pull -rebase/ which is easier to remember (#9964)
-rw-r--r-- | plugins/git/README.md | 1 | ||||
-rw-r--r-- | plugins/git/git.plugin.zsh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md index 4f051db8d..93c9cc915 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -116,6 +116,7 @@ plugins=(... git) | gpf | git push --force-with-lease | | gpf! | git push --force | | gpoat | git push origin --all && git push origin --tags | +| gpr | git pull --rebase | | gpu | git push upstream | | gpv | git push -v | | gr | git remote | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 35ebfbfa3..a364b6162 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -215,6 +215,7 @@ alias gpd='git push --dry-run' alias gpf='git push --force-with-lease' alias gpf!='git push --force' alias gpoat='git push origin --all && git push origin --tags' +alias gpr='git pull --rebase' alias gpu='git push upstream' alias gpv='git push -v' |