Gerrit Prepare Push Change Set to Gerrit - Gerrit

What is Gerrit Prepare Push Change Set to Gerrit?

One should check the changes what they did before committing it into the master. The changes that occurred in the master can be synchronized using Gerrit. Go to the branch which we are working on and execute the below command.

  • Once executed the command gets the changes from the remote branch and updates the code to the master.
  • After that, we are allowed to push the change set to Gerrit.
  • Git pull –-rebase when changes not deserve a different branch then rebase is used.
  • Git pull is a fetch and merge combination; where as git pull --rebase is a fetch and rebase combination.

Initially, execute the git pull origin master command as below.

gerrit_push_changes_to_gerrit

Next execute the below command for git rebase master for rebasing the commits as below.

vgerrit_push_changes_to_gerrit1

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Gerrit Topics