git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git pre-push hook to restrict master branch push !!!
@ 2012-06-11 11:18 J. Bakshi
  2012-06-11 12:10 ` Sitaram Chamarty
  0 siblings, 1 reply; 4+ messages in thread
From: J. Bakshi @ 2012-06-11 11:18 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-20 12:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 11:18 git pre-push hook to restrict master branch push !!! J. Bakshi
2012-06-11 12:10 ` Sitaram Chamarty
2012-06-11 12:17   ` J. Bakshi
2012-06-20 12:39     ` J. Bakshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).