Usefull Git Commands

usefull Git commands

show deletions and insertions

1
2
3
4
5
6
7
8
git diff --stat

out:
source/_posts/2016/06/vim-edit.md | 32 --------------------------------
1 file changed, 32 deletions(-)

# history
git log --stat

find history file changing from all history

1
git log --all --full-history --name-only | grep path/to/file