aboutsummaryrefslogtreecommitdiff
path: root/hooks/README
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/README')
-rw-r--r--hooks/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/hooks/README b/hooks/README
new file mode 100644
index 0000000..c906f51
--- /dev/null
+++ b/hooks/README
@@ -0,0 +1,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.
+