3f2f056f8c
- renamed post-receive.sample to post-receive - fixed file permissions on post-receive file
11 lines
342 B
Bash
11 lines
342 B
Bash
#!/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
|