Gerrit添加评论者 [英] Gerrit Add Reviewers
本文介绍了Gerrit添加评论者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
你可以使用 %r=reviewer@mail.com
语法在您的分支说明符推送时自动添加审阅者更改。
您可以添加任意数量的电子邮件,所有将通过电子邮件发送,例如
git push tr:kernel / common HEAD:refs / for / experimental%r = a @ a .com,r = b @ b.com,cc = c @ c.com
这是一个很好的想法只是在您的git中在遥控器中指定配置,所以你不必每次都输入所有的。
I have a project in Gerrit and each time I submit a change I manually have to add a group of reviewers to that change. Is there a mechanism that would allow me to specify reviewers that I want to be emailed for each change?
解决方案
You can use the %r=reviewer@mail.com
syntax on your branch specifier during a push to automatically add reviewers to a change.
You can add as many emails as you want and all will be emailed, e.g.
git push tr:kernel/common HEAD:refs/for/experimental%r=a@a.com,r=b@b.com,cc=c@c.com
It’s a good idea to just specify this in a remote block in your git config so you don't have to type all that each time.
这篇关于Gerrit添加评论者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文