Advertisement
icycandle

show authors js commit line-count by date range

Jan 25th, 2022
1,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. git log --format='%aN' --no-merges --since="24 Jan 2022" --before="25 Jan 2022" -- '*.js' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name"  --no-merges --since="24 Jan 2022" --before="25 Jan 2022" --pretty=tformat: --numstat -- '*.js' | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done
  2.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement