diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index e1d682508..23ed3be65 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -54,6 +54,9 @@ function current_branch() { echo ${ref#refs/heads/} } +alias incoming='git log ..origin/$(current_branch)' +alias outgoing='git log origin/$(current_branch)..' + # these aliases take advantage of the previous function alias ggpull='git pull origin $(current_branch)' compdef ggpull=git