Thanks to Michael for catching this!
Make sure you read the [security note](http://gitolite.com/gitolite/non-core.html#pushcode)
concerning this configuration.
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:
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: