Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 234 Bytes

File metadata and controls

9 lines (5 loc) · 234 Bytes

Today I Learned - Git

List changed files of last commit

git diff-tree --no-commit-id --name-only -r HEAD

Count the number of commits affecting files

git log --name-only --pretty=format: | sort | uniq -c | sort -nr