aboutsummaryrefslogtreecommitdiff
path: root/hooks/README
blob: c906f5123d9f7681e66550e51361df2fb38ac92c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.