I want to know, how exactly does git review
command work? I mean does it use git push
command (internally) or something else to upload the changes to gerrit. This information would be useful for me while writing git hooks for git review
.
From the fine manual:
When you submit a change, git review
does the following things:
.gitreview
file. If it can't find this information, it pushes to master
-t
)bug 12345
, the tag will be bug/12345
HEAD
of the branch you're pushing to (use -R
to skip this)-y
to skip this)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With