Home / 开发 / Git统计代码行数Git统计代码行数 开发 kinda22 in 31 10月 2022 Shell 12 git log --since=2022-10-24 --until==2022-10-31 --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 + $2 } END {printf "added lines: %s, change lines: %s, total lines: %s\n", add, subs, loc }' 发表评论 取消回复要发表评论,您必须先登录。 ← Previous Post Next Post →