Remove Gerrit Group

Gerrit UI 上无法删除已建立的组,所有需要从 Command Line 操作:

  1. 查询组是否存在
    ssh -p port [email protected]  gerrit ls-groups -q DemoGroup
    
  2. 删除 Gerrit 组

    ssh -p port [email protected]  gerrit gsql
    
    gerrit> delete from ACCOUNT_GROUP_NAMES where name='DemoGroup';
    
    gerrit> delete from ACCOUNT_GROUPS where name='DemoGroup';