Skip to content
Statistics generator for git repositories. Fork of http://gitstats.sourceforge.net/
JavaScript Python
Find file
Pull request Compare This branch is 7 commits ahead, 11 commits behind trybeee:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
style/bootstrap
.gitignore
LICENSE
Makefile
README.md
git-stats

README.md

About

gitstats is a statistics generator for git repositories. It is mostly intended for developers, as a way to check some development statistics for a project.

Currently it produces only HTML output with tables and graphs.

Requirements

  • Python (>= 2.7.3) (python3 is not supported)
  • Git (>= 1.7.10.4)
  • jinja2 (>= 2.7)
  • a git repository (bare clone will work as well)

The above versions are not absolute requirements; older versions may work also.

Install

gitstats does not currently need to be installed; it's used right from the directory (it also assumes some files like the stylesheet are in .)

Suppose you have a git project at /mnt/src/git/project and you want to save the statistics to ~/public_html/project

You would run:

$ ./git-stats /mnt/src/git/project ~/public_html/project

or with git-stats executable in your PATH:

$ git stats /mnt/src/git/project ~/public_html/project

(go grab a cup of coffee if it's a large project :)

$ open ~/public_html/project/index.html

Recommended

  • Lots of memory and fast disk for large projects

Contributions

Patches should be sent under "GPLv2 or older" license - this will allow upgrading to newer GPL versions if they are sensible.

Something went wrong with that request. Please try again.