mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
git: add push force aliases (#6297)
* gpf to --force-with-lease * gpf! to --force
This commit is contained in:
parent
a3afeca3eb
commit
0db7da0cd5
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ alias gma='git merge --abort'
|
||||||
|
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gpd='git push --dry-run'
|
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 gpoat='git push origin --all && git push origin --tags'
|
||||||
compdef _git gpoat=git-push
|
compdef _git gpoat=git-push
|
||||||
alias gpu='git push upstream'
|
alias gpu='git push upstream'
|
||||||
|
|
Loading…
Reference in a new issue