我想知道,git review命令到底是如何工作的?我的意思是,它是使用git push命令(内部)还是其他什么将更改上传到gerrit。在为git review编写git钩子时,这些信息对我很有用。
发布于 2015-01-04 20:20:31
从fine manual
当您提交更改时,git review将执行以下操作:
.gitreview文件中查找要推送到哪个分支(生产分支或其他分支)。如果找不到此信息,它将推送到master-t)手动设置主题
- if you're resubmitting a downloaded change, it will reuse the tag of the original change
- if your commit summary contains a bug number like `bug 12345`, the tag will be `bug/12345`
- otherwise, the tag will be the name of your local branch
HEAD重新设置您的更改的基础(使用-R跳过此操作)-y跳过此操作)https://stackoverflow.com/questions/27764857
复制相似问题