是否可以将协作者设置为仅从特定分支拉取/推送。或者就此而言,无法对 Master 进行更改?
最佳答案
如果您的仓库属于一个组织,您可以启用分支限制设置并选择谁可以推送到受限分支。
https://help.github.com/articles/about-branch-restrictions/
https://help.github.com/articles/enabling-branch-restrictions/
关于github - 限制协作者只能推送到特定分支,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38665267/