git-ho - generate a (static) HTML overview of a repository
git ho [OPTION]...
Generate an index.html in the .git directory. This HTML page will contain an overview of the repository, with a shortlog, a log of a few last commits, the current tree, the heads and tags.
This is particularly useful to get some information on a bare git repository hosted on a dumb http server, when it is not possible (or feel like overkill) to run a gitweb server.
git ho could be run from the post-update hook, along with git update-server-info, for instance by writing the following in .git/hooks/post-update:
#!/bin/sh
git update-server-info
exec git ho --blobs
You might also want to clean up the ho-raw
directory
containing the raw blobs, to keep only the blobs for the current
HEAD.
gitweb(1)