1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 01:00:08 +00:00

git: add push force aliases (#6297)

* gpf to --force-with-lease
* gpf! to --force
This commit is contained in:
Yago Nobre 2018-09-12 14:05:57 -03:00 committed by Marc Cornellà
parent a3afeca3eb
commit 0db7da0cd5

View file

@ -202,6 +202,8 @@ alias gma='git merge --abort'
alias gp='git push'
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'
compdef _git gpoat=git-push
alias gpu='git push upstream'