mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-16 14:20:59 +01:00
git diff shortstat -> gdss
This commit is contained in:
committed by
GitHub
parent
9ffc14c3e1
commit
9795938b32
@@ -206,6 +206,7 @@ alias gdca='git diff --cached'
|
|||||||
alias gdcw='git diff --cached --word-diff'
|
alias gdcw='git diff --cached --word-diff'
|
||||||
alias gds='git diff --staged'
|
alias gds='git diff --staged'
|
||||||
alias gdw='git diff --word-diff'
|
alias gdw='git diff --word-diff'
|
||||||
|
alias gdss="git diff --shortstat $(git_main_branch)..$(git_current_branch)"
|
||||||
|
|
||||||
function gdv() { git diff -w "$@" | view - }
|
function gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
|||||||
Reference in New Issue
Block a user