repo2html/post-receive

12 lines
342 B
Text
Raw Normal View History

#!/bin/sh
# - place this file in the 'hooks' directory of a bare git repository
# - this assumes that repo2html is in your path
export GIT_WWW=/var/www/git/
export GIT_WWW_CLONE_URL=git://git.example.com
export GIT_WWW_TITLE=git.example.com
export GIT_WWW_DESCRIPTION="sherry's git repositories"
export GIT_WWW_H1=git.example.com
repo2html