Gerrit branch access modification through command line

北城余情 提交于 2019-12-11 07:38:04

问题


I would like to change the access rule for the deactivated branches on gerrit from "ALLOW" to "DENY".. do we have any command line options available for it ?


回答1:


You can edit access rights through the Git protocol using the refs/meta/config pseudo-branch. See the docs.

You checkout that branch, modify the project.config and push back to the Gerrit server. That's how you can automate this.



来源:https://stackoverflow.com/questions/23194310/gerrit-branch-access-modification-through-command-line

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!