Using gitosis to specify permissions per branch?

前端 未结 4 789
生来不讨喜
生来不讨喜 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 19:48

    Gitolite supports permission by branch or tag names quite well.

    In the Pro GIT book, this section explains in detail how to set it up and configure per branch access right. Search "Config File and Access Control Rules" within that page.

提交回复
热议问题