6f5f3c4aa5
This patch adds a post-receive hook that can be used to trigger a git-arr update when there is a push to a repository. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
15 lines
459 B
Plaintext
15 lines
459 B
Plaintext
|
|
You can use the post-receive hook to automatically generate the repository
|
|
view after a push.
|
|
|
|
To do so, configure in your target repository the following options:
|
|
|
|
$ git config hooks.git-arr-config /path/to/site.conf
|
|
$ git config hooks.git-arr-output /var/www/git/
|
|
|
|
# Only if the git-arr executable is not on your $PATH.
|
|
$ git config hooks.git-arr-path /path/to/git-arr
|
|
|
|
Then copy the post-receive file to the "hooks" directory in your repository.
|
|
|