Adding aliases for incoming/outgoing patches.

This commit is contained in:
Chad Metcalf 2012-01-29 22:10:59 -08:00
commit fe7c6018f5

View file

@ -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