Skip to content
hans edited this page Sep 13, 2010 · 4 revisions

GitChart is a tool to generate statistics about Git repositories. The application utilizes Grit for its Git interface, and Google Charts for graphing the results.

Installation

To install GitChart, make sure you have RubyGems installed with gems.github.com added as a source. Then, just run this command:

sudo gem install hansengel-gitchart

Usage

Once you have GitChart installed, just change directory to a Git repository in your terminal and run:

git-chart

There are some optional configuration options that can be provided.

git-chart _repository_ _branch_ _chartsize_ _3d_

The options’ explanations:

  • repository: The directory of the Git repository to load stats from. Defaults to ‘.’ (the current directory).
  • branch: The branch to read stats from (this doesn’t apply to the charts that utilize all branches). Defaults to ‘master’.
  • chartsize: The maximum chart size, which is provided to Google Charts. Defaults to ‘1000×300’.
  • 3d: Whether or not to use 3D pie charts. Can be true or false; defaults to true.
Clone this wiki locally