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.
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: