1

How can I know the total number of commits done on a project through the GitHub web interface? How can I get the total number of commits in a specific time frame?

What I can get now is the number of commits done by each developer, not the total one.

Example: https://github.com/BVLC/caffe

Pietro
  • 11,309
  • 24
  • 88
  • 179

4 Answers4

7

As your tags and question line don't limit this to just the GitHub interface, you can get what you want from the command line:

$ git rev-list --count master --since=5.months
577
$ git rev-list --count master --since=4.months
524

As well as --since it supports --until to specify a full range. Manual Reference.

See also, What date formats does git log accept for date parameters?

Community
  • 1
  • 1
bcmcfc
  • 24,671
  • 28
  • 106
  • 175
3

To get to the compare view, append /compare to your repository's path. Every repository's Compare view contains two drop down menus: base and compare

To compare the commits in timeframe you can do type the branch name in the compare dropdown, followed by a @, and then the date wrapped between a { } notation.

Here are two examples:

Date Compairson

Time entered in Weeks

Source: https://help.github.com/articles/comparing-commits-across-time/

Commits Done Using GitHub Web Interface:

Commits are commits whether you do it from the git interface or web interface. I guess there is no way to identify it.

Commits done by each developer:

It is clearly mentioned in the link you provided:

Contributors

Deepesh
  • 5,873
  • 1
  • 21
  • 39
1

Go to https://github.com/USER_NAME/REPOSITORY. In you case, you have to go to https://github.com/BVLC/caffe.

After visiting the above mentioned page, you can see the total number of commits. Refer the picture below:

enter image description here

abhiarora
  • 8,763
  • 5
  • 30
  • 50
1

It appears on the project's main page, in the top left corner:

enter image description here

Mureinik
  • 277,661
  • 50
  • 283
  • 320