From: Ralf Jung Date: Sun, 29 Jan 2017 10:40:34 +0000 (+0100) Subject: Mention that repo-specific-hooks need to be enabled X-Git-Url: https://git.ralfj.de/git-mirror.git/commitdiff_plain/a653fb0a12320a4f300023c5dd5e5af422a19a82 Mention that repo-specific-hooks need to be enabled Thanks to Michael for catching this! --- diff --git a/README.md b/README.md index 31f2d93..21285ee 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ repository, so enable the following line in `/home/git/.gitolite.rc`: Make sure you read the [security note](http://gitolite.com/gitolite/non-core.html#pushcode) concerning this configuration. +Furthermore, uncomment the `repo-specific-hooks` line in the rc file or add it +to the `ENABLE` list if it doesn't exist. + Now add a file called `local/hooks/repo-specific/git-mirror` to your `gitolite-admin` repository, make it executable, and give it the following content: