Advertisement
icycandle

show authors js commit line-count by date range

Jan 25th, 2022
1,047
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement