diff options
author | Simen Bekkhus <sbekkhus91@gmail.com> | 2016-08-11 02:47:54 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-08-11 02:47:54 +0200 |
commit | ae21102030d8dd7362bbbfa1861b44b410ee7ee9 (patch) | |
tree | 71eef9f7f523b4c4d2adc762df0e461f2480adf4 | |
parent | c09323098acb03a0678f87036fad10bd99b283b2 (diff) | |
download | zsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.tar.gz zsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.tar.bz2 zsh-ae21102030d8dd7362bbbfa1861b44b410ee7ee9.zip |
(git): Add gpsup alias (#5287)
-rw-r--r-- | plugins/git/git.plugin.zsh | 2 |
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' |