导出git提交记录
git log --author="名字" --since==2021-01-01 --until=2021-01-31 --date=iso --pretty=format:’"%h","%an","%ad","%s"’ >> commit.csv
查git提交了多少代码
git log --author="名字" --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --since==2021-01-01 --until=2021-01-31 --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done