在Git仓库中统计每人的贡献量
git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --after="2023-12-07" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2 } END { printf "added lines: %s, removed lines: %s\n", add, subs}' -; done