Gerrit/Web tutorial

You can submit changes to a repository using the Gerrit website. This is a tutorial describing how to do this.

If you're logged in to Gerrit, you can also create code changes directly within the web interface. This can be useful for making small patches, or for non-developers to contribute small fixes.


 * 1) Go to https://gerrit.wikimedia.org/r/admin/repos/ and choose the code repository that you want to edit.
 * 2) Select "Commands" in the sidebar
 * 3) Click "Create Change"
 * 4) Set branch to "master" (if you don't want to use master branch you can use the other branches available for that project)
 * 5) Set the topic to something of your choosing (e.g. "copy-edit" - must be all-one-string) (optional)
 * 6) Write a description ("commit summary") in the big text field by following message guidelines. (Example)
 * 7) Click "Create"
 * 8) In the upper right corner, click the "Edit" button
 * 9) Under "Files", click "ADD/OPEN/UPLOAD" button
 * 10) Type the folder/file path for the file you wish to edit (e.g. i18n/en.json) and click "Confirm"
 * 11) Find the line(s) you want to change, and change them.
 * 12) Click "Save"
 * 13) Click "Close"
 * 14) Click "Publish edit"
 * 15) Click "Mark as active" to remove the "Work in Progress" status from your code changes

Done!

If you need to change the commit message of an existing changeset, you can use these steps:


 * 1) Go to the changeset itself. Example URL: https://gerrit.wikimedia.org/r/c/1234567890 (replace the ID at the end)
 * 2) In the "Files" section, click "Commit message"
 * 3) In the upper right corner, click the "Edit" button
 * 4) Make changes to the commit summary.
 * 5) In the upper right corner, click "Save"
 * 6) In the upper right corner, click "Close"
 * 7) In the upper right corner, click "Publish edit"