Git commit count a day

后端 未结 3 2151
无人及你
无人及你 2020-12-16 17:22

I have a branch called development. Now I want to know how many commits are happened per day (i.e) each day.

I want Toal number of commits (i.e) count o

3条回答
  •  悲&欢浪女
    2020-12-16 17:34

    I've tried with:

    git log | grep Date | awk '{print " : "$4" "$3" "$6}' | uniq -c

    And it works. You'll get something like:

       5  : 3 Mar 2016
       4  : 2 Mar 2016
       8  : 1 Mar 2016
       [...]
    

    I found the command here.

提交回复
热议问题