mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
git diff shortstat -> gdss
This commit is contained in:
parent
9ffc14c3e1
commit
9795938b32
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue