Software‎ > ‎



git-graph builds a graphical history of a GIT repository. It is a php server-side script designed to work in tandem with gitweb. The graphical output is achieved through a client-side java script. Click the picture on the right for a sample output.

Download and installation

You can download the first version here, released under GPL license.
The configuration is relatively simple, all you have to do is:
  • copy git-graph.php in a directory made public by your web server, for instance "/home/git/git-graph", and make it available on the web as "".
  • configure three lines inside of the git-graph.php file, e.g.: 
$GLOBALS["repo"]["base"] = "/home/git/repositories/";
$GLOBALS["gitweb"]["url"] = "";
$GLOBALS["git"]["path"] = "/usr/bin/git";
  • configure gitweb, i.e., edit "/etc/gitweb.conf" and add the following lines: 
$feature{'forks'}{'default'} = [1];
$feature{'actions'}{'default'} = [('git-graph', '/git-graph/git-graph.php?r=%n', 'summary')];

Comments? Feedback? Problems?

Please drop me an email!
Ștefan Gună,
Oct 11, 2011, 10:48 AM