Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git diff -C --stat HEAD c9af3e6136e8aec1f79368c2a6164e56bf7a7e07
- app/controllers/application_controller.rb | 34 +++-------------------------
- 1 files changed, 4 insertions(+), 30 deletions(-)
- git diff --numstat
- MOD_PATTERN='^.+([-|{+).*$'
- ADD_PATTERN='^{+.*+}$'
- REM_PATTERN='^[-.*-]$'
- git diff --word-diff --unified=0 | sed -nr
- -e "s/$MOD_PATTERN/modified/p"
- -e "s/$ADD_PATTERN/added/p"
- -e "s/$REM_PATTERN/removed/p"
- | sort | uniq -c
- git show commit-id --stat
- git diff commit-id-before commit-id --stat
- git diff commit-id1 commit-id2 --stat
- git log --stat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement