summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorguenthgr <guenther.grill@frauscher.com>2023-02-17 17:29:10 +0100
committerCarlo Sala <carlosalag@protonmail.com>2023-02-17 17:30:39 +0100
commitcc73a929f637899407d7a17648f89c63b71cc1ff (patch)
tree1be3afe89c2bed3877e28cf2ed7df8543ddcc5a3 /plugins
parentaace3a6144a859d877927746a865de820e5af838 (diff)
downloadzsh-cc73a929f637899407d7a17648f89c63b71cc1ff.tar.gz
zsh-cc73a929f637899407d7a17648f89c63b71cc1ff.tar.bz2
zsh-cc73a929f637899407d7a17648f89c63b71cc1ff.zip
feat(git): add `gpod` alias
Closes #11501
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/README.md1
-rw-r--r--plugins/git/git.plugin.zsh1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md
index 1c3f8acf0..9972a6d8d 100644
--- a/plugins/git/README.md
+++ b/plugins/git/README.md
@@ -124,6 +124,7 @@ plugins=(... git)
| gpf | git push --force-with-lease (git version < 2.30) |
| gpf! | git push --force |
| gpoat | git push origin --all && git push origin --tags |
+| gpod | git push origin --delete |
| gpr | git pull --rebase |
| gpu | git push upstream |
| gpv | git push --verbose |
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 70e6b4439..b016d80db 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -242,6 +242,7 @@ is-at-least 2.30 "$git_version" \
|| alias gpf='git push --force-with-lease'
alias gpf!='git push --force'
alias gpoat='git push origin --all && git push origin --tags'
+alias gpod='git push origin --delete'
alias gpr='git pull --rebase'
alias gpu='git push upstream'
alias gpv='git push --verbose'