You can view git2html in action.
$ ./git2html.sh Usage ./git2html.sh [-prlbq] TARGET Generate static HTML pages in TARGET for the specified git repository. -p Project's name -r Repository to clone from. -l Public repository link, e.g., 'http://host.org/project.git' -b List of branches to process (default: all). -q Be quiet. -f Force rebuilding of all pages.The first time you run git2html, you need to indicate your project's name (-p), the link for viewers to clone the repository (-l), the repository to get updates from (-r) and the target directory. Here is how I configured git2html's viewer directory:
$ ./git2html.sh \ -p git2html \ -l http://hssl.cs.jhu.edu/~neal/git2html.git \ -r /home/neal/public_html/git2html.git ~/public_html/git2html/src/Note that this first run will take a fair amount of time. git2html tries to be smart and avoids doing a fair amount of redundant work on subsequent runs. Subsequent runs only require the target directory (git2html saves the configuration in the target directory in the .ht_git2html file). After commiting to git2html's repository, the following command is run:
$ ./git2html.sh ~/public_html/git2html/src/
git clone http://hssl.cs.jhu.edu/~neal/git2html.git