From fc7074f6d68ff457b51a450a28046bb1412bbbc0 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Sun, 23 Nov 2014 00:47:34 +0100 Subject: [PATCH] update git push aliases --- plugins/git2/git2.plugin.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/git2/git2.plugin.zsh b/plugins/git2/git2.plugin.zsh index e1963db59..8049b46ab 100644 --- a/plugins/git2/git2.plugin.zsh +++ b/plugins/git2/git2.plugin.zsh @@ -46,8 +46,12 @@ compdef _git gpr=git-pull # git push alias gP='git push' compdef _git gP=git-push +alias gPu='git push upstream' +compdef _git gPu=git-push alias gPum='git push upstream master' -compdef _git gP=git-push +compdef _git gPum=git-push +alias gPgPu='git push && git push upstream' +compdef _git gPgPu=git-push # git push dry run alias gPd='git push --dry-run' compdef _git gPd=git-push