I want to create a post commit hook through which I need to send a notification to the committing developer that branch pushed is not following our naming convention. So what I would like to know is:
We want to inform user when their branch isn't follow the naming convention.
echo
$1
and oldrev
to get a feel for what's available to you.)