1. ${PROJECT_ROOT}/.git/config 加入如下代码
[remote "review"]
url = ssh://${username}@codeserver.xxx.com:29418/${project_name}
push = HEAD:refs/for/${branch_name}%r=username1@gmail.com,r=username2@gmail.com,r=username3@gmail.com
2. 推送代码到 gerrit
$ git push review