Hi I want to create some git-hooks to prevent some ugly situation:
1. git push -f -> which is always bad for central systems
2. The user push branches with special characters like äöü 
(https://github.com/gitlabhq/gitlabhq/issues/5758)

So I read a some articles about git hooks and added a hook in my repository 
called pre-push. (repositories/niels/test.git/hooks/pre-push). I set chmod
 a+rx

The script is really simple

#!/bin/bash
date >> /tmp/debug.log


It works fine on command line, but is never called if I make a git push to 
the server.

So where can I found documentation to this? How can I fix it?

Thanks in advance
Niels

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to