Gerrit/Tutorial/tl;dr

This is a very short guide to using Git and Gerrit for MediaWiki development. For more details, see Gerrit/Tutorial.

First steps: Get the code:
 * Install and configure Git
 * Create an SSH key
 * Create a developer account
 * Log in and add your public key to gerrit and to wikitech.
 * Install git-review


 * or

Write and send new code:

Go to Gerrit, click your change and write a reviewer name in the input box near the "Add Reviewer" button. If you don't know who to invite, try the maintainer for the component you've edited, or ask on IRC.

If the reviewer asks you to make a change, make it and amend your commit:

To test or otherwise work with other people's code, just follow the same steps to amend a change described above, using the corresponding.

An slower workflow that will also work is using  and    instead of. That way you avoid unintentional commits. It is also convenient to look at the diff you are about to send to code review before you send it

For more complex tasks and workflows, see Gerrit/Advanced usage.