# gitstats **Repository Path**: dongjinguang/gitstats ## Basic Information - **Project Name**: gitstats - **Description**: Gitstats is a statistics generator for git repositories, which is fork of http://gitstats.sourceforge.net/ - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-09 - **Last Updated**: 2024-07-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GitStats - git history statistics generator ## About GitStats is a statistics generator for [git](http://git-scm.com/) (a distributed revision control system) repositories. It examines the repository and produces some interesting statistics from the history of it. Currently HTML is the only output format. Also see the SourceForge [project page](http://sourceforge.net/projects/gitstats). ## Features Here is a list of some statistics generated currently: - General statistics: total files, lines, commits, authors. - Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year. - Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year. - Files: file count by date, extensions - Lines: Lines of Code by date ## Examples See the [examples directory](http://gitstats.sourceforge.net/examples/) for example statistics generated for various projects. ## Requirements - Git - Python - Gnuplot ## Getting GitStats GitStats repository is hosted on both [GitHub](https://github.com/hoxu/gitstats) and [Gitorious](https://gitorious.org/gitstats/). ### Using git The recommended way to get GitStats is to clone it with git: ``` git clone https://gitee.com/dongjinguang/gitstats ``` The repository also contains the web site in the `web` branch. ### As a tarball Alternatively, you can [download a tarball](https://github.com/hoxu/gitstats/tarball/master) of the latest version. ### Distro packaging #### Debian If you are running Debian Squeeze, Wheezy or Sid, you can install gitstats with: ``` apt-get install gitstats ``` But note that [the version in Debian](http://packages.debian.org/gitstats) is most likely much older than the latest version available in git. #### Fedora On Fedora 17 or later and EL6 distributions that have the EPEL repository [[1](https://bugzilla.redhat.com/show_bug.cgi?id=914996)] enabled: ``` yum install gitstats ``` #### OS X Homebrew contains [a head-only recipe for gitstats](https://github.com/Homebrew/homebrew-head-only/blob/master/gitstats.rb): ``` brew install --HEAD homebrew/head-only/gitstats ``` ## License Both the code and the web site are licensed under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt)/[GPLv3](http://www.gnu.org/licenses/gpl-3.0.txt).