User:TCipriani (WMF)/Gerrit/Tutorial/Submit
Appearance
🧑🏽💻 Gerrit for Product Analytics–Tutorial
- 🏠 Home
- 🧐 Tutorial
- Clone
- Materialize
- Submit
- 🚛 Commit messages (Using
Bug:
) - 🆙 Uploading changes
- 🚢 Reviewing and submitting
Submit
Now that you have a new schema lineage, you're ready to submit to code review on Gerrit. Make sure you have git-review installed on your system and you've git review -s
in schemas/event/secondary
, then the command to push changes to Gerrit is:
git review -R
The -R
option tells git-review not to perform a rebase before submitting the change to Gerrit.
Git review
$ git review -R remote: remote: Processing changes: refs: 1, new: 1 remote: Processing changes: refs: 1, new: 1 remote: Processing changes: refs: 1, new: 1, done remote: remote: SUCCESS remote: remote: https://gerrit.wikimedia.org/r/c/schemas/event/secondary/+/735387 Add mediawiki/desktop/button/click [NEW] remote: To ssh://gerrit.wikimedia.org:29418/schemas/event/secondary.git * [new reference] HEAD -> refs/for/master
And that's it!!
You should have a change that looks like this when you're done!