git: add push force aliases (#6297)

* gpf to --force-with-lease
* gpf! to --force
master
Yago Nobre 8 years ago committed by Marc Cornellà
parent a3afeca3eb
commit 0db7da0cd5
  1. 2
      plugins/git/git.plugin.zsh

@ -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'

Loading…
Cancel
Save