


















使用ssh添加用户
ssh name@localhost -p 29418 gerrit create-account username --email username@email --full-name userfullname --http-password httppassword
在gerrit的安装目录使用htpasswd添加用户:
htpasswd -m htpasswd.conf username
用gerrit sql 添加用户
ssh name@localhost -p 29418 gsql
insert into account_external_ids(account_id, email_address, password, external_id)values(id,null,null,'gerrit:username');
参考:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。