Gerrit/Tutorial/tl;dr/en


 * This is a very short (tl;dr) how-to guide to using Git and Gerrit for MediaWiki development. For a tutorial which includes explanations, see .

First steps:


 * Install and configure Git. Create an SSH key (steps 1-3, the rest is for GitHub instead of Gerrit). Create a Wikimedia developer account.
 * Log in and add your public key to gerrit
 * Also add your public key to LDAP using any of:
 * the wikitech NovaKey page


 * toolsadmin interface

Get the code: (Replace by your UNIX shell username as shown in your Gerrit settings)


 * For MediaWiki core:
 * Or, for an extension: {{cmd|1=git clone ssh://{red|1=&lt;username&gt;}}@gerrit.wikimedia.org:29418/mediawiki/extensions/.git}}
 * Or, for a skin: {{cmd|1=git clone ssh://{red|1=&lt;username&gt;}}@gerrit.wikimedia.org:29418/mediawiki/skins/.git}}

Write and send new code:



Add potential change reviewers:


 * On Gerrit, click your change to open it. Under "Reviewers", click the "Add Reviewer" button. Write a reviewer name in the input box. If you don't know who to invite for reviewing, try the maintainer for the component you've edited, or ask on.

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



To review other people's code, just follow the same steps to amend a change described above, using the corresponding.