Using gitosis to specify permissions per branch?

前端 未结 4 795
生来不讨喜
生来不讨喜 2021-01-04 19:25

With gitosis, is it possible to specify write permissions so that users can push freely to branches with their own name, but not merge with the master? E.g. $USER/test1 .. $

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-04 20:11

    This script seems to do per branch access control:

    http://www.kernel.org/pub/software/scm/git/docs/howto/update-hook-example.txt

提交回复
热议问题