1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-04-28 01:10:23 +08:00

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

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