git ho (1)

NAME

git-ho - generate a (static) HTML overview of a repository

SYNOPSIS

git ho [OPTION]...

DESCRIPTION

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.

OPTIONS

--blobs, -b
also output all the blobs in the HEAD tree and add links in the tree to the blobs
--css=URL, -s URL
add the given stylesheet to the generated HTML page

EXAMPLE

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.

SEE ALSO

gitweb(1)