Gerrit Tutorial
Setting up Git
Set Up SSH Keys in Gerrit
Prepare to work with Gerrit
How to Submit a Patch
How Code is reviewed in Gerrit
Gerrit Useful Resources
Selected Reading
Setting up Git
Set Up SSH Keys in Gerrit
- Download Extension Using Git
- Add SSH Key to use with Git
- Add SSH Key to your Gerrit Account
- Add Your SSH Key
- Generate New SSH Key
Prepare to work with Gerrit
How to Submit a Patch
- Editing via the Web-Interface
- View the Change / Next Steps
- Push your change set to Gerrit
- Prepare Push change set to Gerrit
- Make & Commit Your Change
- Gerrit - Create Branch
- Gerrit - Update Master
How Code is reviewed in Gerrit
Gerrit Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Add SSH Key to use with Git
Gerrit - Add SSH Key to use with Git
You can add SSH key to Git using the following commands −
Step 1 − Open Git Bash and get the ssh-agent using the following command.
$ eval ssh-agent
Step 2 − Next, add the SSH key to the ssh-agent using the following command
$ ssh-add ~/.ssh/id_rsa
Step 3 − Now, run the ssh using the following command, which matches the SSH fingerprint used when logging for the first time.
$ ssh -p 29418 <user_name>@gerrit.wikimedia.org
In the above screenshot, you can see that xyz123 is a instance shell account name, which is used while creating Gerrit account and Abc123 is a user name of your Gerrit account.
Advertisements