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

 

相关文章:

  • 2022-12-23
  • 2021-10-29
  • 2021-11-13
  • 2021-05-09
  • 2021-07-30
  • 2022-12-23
  • 2021-09-28
  • 2021-12-09
猜你喜欢
  • 2021-11-10
  • 2021-07-22
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-10-19
相关资源
相似解决方案