Gerrit - Push Your Change Set to Gerrit

You can submit the patches for review by using the git-review command. The change set can be pushed to Gerrit, by running the git review -R command as shown in the following screenshot.

Push Changes to Gerrit

The -R option informs git-review not to complete rebase before submitting git changes to Gerrit.

You can submit the code to other branch rather than the master, using the following command.

git review name_of_branch

It is also possible to submit the code to a different remote, using the following command.

git review -r name_of_remote
Kickstart Your Career

Get certified by completing the course

Get Started