How does git-review work?
1 answer
From an excellent guide :
When you submit changes, it git review
does the following:
- it looks at which branch to push (production or whatever) in the file
.gitreview
. If he cannot find this information, he pressesmaster
- it defines which "theme" should be added to the revision (you can install the theme manually with
-t
)- If you resubmit the uploaded change, it will reuse the original change tag.
- if the summary summary contains an error number, for example
bug 12345
, the tag would bebug/12345
- Otherwise the tag will be the name of your local branch
- this changes your change to the
HEAD
branch you are pushing to (use-R
to skip this) - If you are submitting more than one change at a time, or submitting a change based on another unauthorized change, it will ask you if you actually did it (use
-y
to skip this). - it pushes changes to view
+7
source to share