summaryrefslogtreecommitdiff
path: root/plugins/git.plugin.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-06-10 07:50:13 -0700
committerRobby Russell <robby@planetargon.com>2010-06-10 07:50:13 -0700
commit7f350da5b74c65ed99766c8ebd5137aee9479225 (patch)
treeac325d496bfa48a6f8c521bc7cff1fca82ad4296 /plugins/git.plugin.zsh
parentfca8b7e3e61056998c8d15836f907345b423b121 (diff)
downloadzsh-7f350da5b74c65ed99766c8ebd5137aee9479225.tar.gz
zsh-7f350da5b74c65ed99766c8ebd5137aee9479225.tar.bz2
zsh-7f350da5b74c65ed99766c8ebd5137aee9479225.zip
Adding a ggpnp which does a git pull followed by a git push.
Diffstat (limited to 'plugins/git.plugin.zsh')
-rw-r--r--plugins/git.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/git.plugin.zsh b/plugins/git.plugin.zsh
index e0d967056..655eaf728 100644
--- a/plugins/git.plugin.zsh
+++ b/plugins/git.plugin.zsh
@@ -29,3 +29,4 @@ function current_branch() {
# these aliases take advangate of the previous function
alias ggpull='git pull origin $(current_branch)'
alias ggpush='git push origin $(current_branch)'
+alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)' \ No newline at end of file