gerrit开发人员相关操作
登录
根据管理员在后台添加的账号密码登录
配置ssh密钥
克隆远程仓库
基于http克隆远程仓库,使用gerrit配置时http连接使用的ip地址和端口号
git clone "http://ip_addresss:port/repo_name"
基于ssh克隆远程仓库,使用gerrit配置时ssh连接使用的IP地址和端口号,可以通过访问http://ipaddress:port/ssh_info来获取ssh连接使用的IP地址和端口号,如果用windows需要先开启openSSH服务
git clone "ssh://username@ip_addresss:port/repo_name"
上传代码
初次上传代码会预报错误,提示ERROR: missing Change-Id in commit message footer,执行以下代码
gitdir