Gerrit 添加用户

时间:2023-03-09 17:27:28
Gerrit 添加用户

使用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');

参考:

http://blog.****.net/benkaoya/article/details/8680886