git diff shortstat -> gdss

This commit is contained in:
Arthur Moura Carvalho 2025-01-26 10:14:32 -03:00 committed by GitHub
parent 9ffc14c3e1
commit 9795938b32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ alias gdca='git diff --cached'
alias gdcw='git diff --cached --word-diff'
alias gds='git diff --staged'
alias gdw='git diff --word-diff'
alias gdss="git diff --shortstat $(git_main_branch)..$(git_current_branch)"
function gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff