Skip to content
GitLab
Explore
Sign in
Changes
Page history
mark a hook as executable
authored
Oct 02, 2021
by
anarcat
Show whitespace changes
Inline
Side-by-side
howto/git.md
View page @
c28b8ed7
...
...
@@ -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:
...
...