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
Gerrit - Update Master
Gerrit - Update Master
You can make the master branch up-to-date using the following command. The git-pull command fetches from another local branch or integrates with another repository.
git pull origin master
The command will pull changes from the origin remote (URL of remote to fetch from), master branch and merge the changes to local checked-out branch.
The origin master is a cached copy of the last pulled from the origin.
Git pull is a combination of git fetch (fetches new commits from the remote repository) and git merge (integrates new commits into local branch).
Git pull merges the local branch with the remote branch by default.