cd 到项目路径
git log --since='2019-01-01' --until='2019-02-04' --format='%aN' | sort -u | while read name; do echo -en "name" --numstat --pretty=tformat: --no-merges | awk '{ add += 2; loc += 2 } END { printf "added lines, %s, removed lines, %s, total lines, %s\n", add, subs, loc }' -; done >> 2019_02_19_code.csv;
网友评论