From c28b8ed7ebfe594613344e75dd52c38164fc7a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org> Date: Sat, 2 Oct 2021 10:56:04 -0400 Subject: [PATCH] mark a hook as executable --- howto/git.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/howto/git.md b/howto/git.md index 59765f0f..3491e7b0 100644 --- a/howto/git.md +++ b/howto/git.md @@ -314,6 +314,10 @@ EOF exit 1 ``` +Make sure the hook is executable: + + chmod +x hooks/pre-receive + Then in Gitolite, the repository must be put "in the Attic", using a patch that looks something like this: -- GitLab