GitStats is a git repository statistics generator. It browses the repository and outputs html page with statistics.
$ gem install git_stats
$ git_stats <follow instructions on the screen>
API usage example
> repo = GitStats::GitData::Repo.new(path: '.', first_commit_sha: 'abcd1234', last_commit_sha: 'HEAD') > repo.authors => [...] > repo.commits => [...] > commit.files => [...]
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request