feat(git): add gpod alias

Closes #11501
This commit is contained in:
guenthgr 2023-02-17 17:29:10 +01:00 committed by Carlo Sala
parent aace3a6144
commit cc73a929f6
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A
2 changed files with 2 additions and 0 deletions

View file

@ -124,6 +124,7 @@ plugins=(... git)
| gpf | git push --force-with-lease (git version < 2.30) | | gpf | git push --force-with-lease (git version < 2.30) |
| 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 |
| gpod | git push origin --delete |
| gpr | git pull --rebase | | gpr | git pull --rebase |
| gpu | git push upstream | | gpu | git push upstream |
| gpv | git push --verbose | | gpv | git push --verbose |

View file

@ -242,6 +242,7 @@ is-at-least 2.30 "$git_version" \
|| 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 gpod='git push origin --delete'
alias gpr='git pull --rebase' alias gpr='git pull --rebase'
alias gpu='git push upstream' alias gpu='git push upstream'
alias gpv='git push --verbose' alias gpv='git push --verbose'