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:
joshtch 2014-04-13 18:29:14 -04:00
commit 0a64132a47

View file

@ -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'