git log --author="theLongGoodbye" --since=2019-01-01 --until=2021-01-31 --pretty=tformat: --numstat | awk '{ add += 2; loc += 2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -
git log --author="theLongGoodbye" --since=2019-01-01 --until=2021-01-31 --pretty=tformat: --numstat | awk '{ add += 2; loc += 2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -
本文标题:统计 git 提交行数
本文链接:https://www.haomeiwen.com/subject/ivbwaktx.html
网友评论