git pre-push hook to restrict master branch push !!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,

I have a central server where git repos are located and based on http base push/pull.
authentication is done by a text based password file, generated by htpasswd.

I am searching for a server side hook (pre-push) which can prevent all push to master,
except few users found at that password file generated by htpasswd. Is there any such hook
available ? Some suggest to use gitolite, but it also based on the hooks to do the same.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]