mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Add 'gds' to visualize diff statistics
Show in color the number of lines added to or deleted from each file.
This commit is contained in:
parent
f8f01262ab
commit
0a64132a47
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ alias grh='git reset HEAD'
|
|||
alias grhh='git reset HEAD --hard'
|
||||
alias gclean='git reset --hard && git clean -dfx'
|
||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||
gds() { git diff --stat --color "$@" | cat }
|
||||
compdef _git gds=git-diff
|
||||
|
||||
#remove the gf alias
|
||||
#alias gf='git ls-files | grep'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue