Gerrit受保护的分支

时间:2020-09-04 20:06:12

标签: gerrit

好吧,我读过the manual,看过the question,但似乎无法弄清楚。

如何保护分支免受Gerrit的删除?我尝试执行的任何操作似乎都没有阻止我删除分支。

我目前有访问规则:

[access "refs/heads/second"]
    delete = block group Anonymous Users
    delete = block group Project Owners
    delete = block group Registered Users
    push = block +force group Anonymous Users
    push = block +force group Project Owners
    push = block +force group Registered Users

(我知道这应该是可简化的,但是简化形式也不起作用。)

版本2.16.10。

0 个答案:

没有答案