I have a git repository and i want to launch an hook when someone is trying to push
on a specific branch. ( pre-receive
hook, check branch, refuse if it's master branch. )
Is there any variables where i can get pushed branch on server side when users, on his $git clone
use $git push
?
Thanks.