User:TCipriani (WMF)/Gerrit/Tutorial
Appearance
🧑🏽💻 Gerrit for Product Analytics–Tutorial
- 🏠 Home
- 🧐 Tutorial
- Clone
- Materialize
- Submit
- 🚛 Commit messages (Using
Bug:
) - 🆙 Uploading changes
- 🚢 Reviewing and submitting
Cloning a repo
[edit]First, make sure you have git installed. Now you can clone a repo—pull code from a central server to your local machine.
📥 Git Clone
$ git clone https://gerrit.wikimedia.org/r/schemas/event/secondary schemas/event/secondary Cloning into 'schemas/event/secondary'... remote: Counting objects: 9, done remote: Finding sources: 100% (9/9) remote: Getting sizes: 100% (8/8) remote: Compressing objects: 100% (1030/1030) remote: Total 1940 (delta 0), reused 1936 (delta 0) Receiving objects: 100% (1940/1940), 633.94 KiB
This should create a directory under your current directory that looks like this:
schemas/event/secondary
├── jsonschema
├── package.json
├── package-lock.json
├── README.md
├── scripts
└── test|