I am using the Gitolite to create the git repo.
I have requirement that when user push something to repo it must have some specific file (eg. .md
file) otherwise don't let push the code.
So now I need to configure a post-push hook and do some operation on pushed content.
Can any one please help me to do the same?