码迷,mamicode.com
首页 > 其他好文 > 详细

git统计日期之间的代码改动行数

时间:2018-02-11 12:32:43      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:post   +=   stat   body   之间   print   move   ring   统计   

 

 

git log --pretty=tformat: --since ==2016-10-25 --until=2016-10-27   --numstat | awk ‘{ add += $1 ; subs += $2 ; loc += $1 + $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }‘

git统计日期之间的代码改动行数

标签:post   +=   stat   body   之间   print   move   ring   统计   

原文地址:https://www.cnblogs.com/zipon/p/8440668.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!