diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-03-10 01:11:41 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-03-12 23:09:25 +0100 |
commit | 6f5f3c4aa5b8e4bc8925aa28fff8bd0ebddc0156 (patch) | |
tree | 7dc1632255e7c668a8ba4ebcecc82d6568139cb7 /hooks/README | |
parent | c72278c97c15f30fb9cbcdcdd4c4fb84889a6b60 (diff) | |
download | git-arr-fork-6f5f3c4aa5b8e4bc8925aa28fff8bd0ebddc0156.zip |
Add a post-receive hook0.11
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>
Diffstat (limited to 'hooks/README')
-rw-r--r-- | hooks/README | 14 |
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. + |