summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimen Bekkhus <sbekkhus91@gmail.com>2016-08-11 02:47:54 +0200
committerMarc Cornellà <marc.cornella@live.com>2016-08-11 02:47:54 +0200
commitae21102030d8dd7362bbbfa1861b44b410ee7ee9 (patch)
tree71eef9f7f523b4c4d2adc762df0e461f2480adf4
parentc09323098acb03a0678f87036fad10bd99b283b2 (diff)
downloadzsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.tar.gz
zsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.tar.bz2
zsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.zip
(git): Add gpsup alias (#5287)
-rw-r--r--plugins/git/git.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 0cee136c2..3f9ec2c01 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -148,6 +148,8 @@ compdef _git ggpush=git-checkout
alias ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
+alias gpsup='git push --set-upstream origin $(git_current_branch)'
+
alias gignore='git update-index --assume-unchanged'
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'