【发布时间】:2012-02-05 13:32:12
【问题描述】:
我的 git 存储库中有四个分支,使用 GitHub 进行管理:
- 生产
- 分期
- 大师
- [人名]-发展
有没有办法限制对单个分支([人名]-开发)的写访问?我该怎么做?
作为参考,类似的问题:How to write a git hook to restrict writing to branch?。
【问题讨论】:
-
我知道这个问题已经过时了。但是看看help.github.com/articles/about-branch-restrictions