gerrit设置默认rebase以及禁用分支

1.设置默认rebase

在工程配置中设置:

 2.禁用分支

Refrance:refs/for/refs/heads/分支名

禁用权限:push  “Block”   (这样就禁止了开发者往这个分支上提交代码)

勾选Exclusive

比如禁用master分支,如下:

原文地址:https://www.cnblogs.com/zndxall/p/9337114.html