mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge fe7c6018f5 into caa15548c1
This commit is contained in:
commit
51827e5806
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue