[gerrit] Auto Add Reviewer When Push Code

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
上一篇:解决mysql连接linux上mysql服务器的问题


下一篇:iOS-UICollectionViewLayout方法介绍