Skip to content

Commit

Permalink
Adding a rebase option to git alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel Missotten authored and Drarok committed Sep 23, 2013
1 parent a841491 commit 80b7396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/git/git.plugin.zsh
Expand Up @@ -114,6 +114,8 @@ function current_repository() {
# these aliases take advantage of the previous function
alias ggpull='git pull origin $(current_branch)'
compdef ggpull=git
alias ggpur='git pull --rebase origin $(current_branch)'
compdef ggpur=git
alias ggpush='git push origin $(current_branch)'
compdef ggpush=git
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
Expand Down

0 comments on commit 80b7396

Please sign in to comment.