Tower Help & Support

Gerrit Code Review System

Tower provides extended support for Gerrit, a popular open source code review system.

Enabling Extended Gerrit Support in Tower

In Tower's settings window on the Integration tab, activate the Enable easy push action for Gerrit option.
This will enable the following adaptions in Tower's UI.

Pushing to Gerrit

With the Gerrit option enabled in Tower's settings, performing "Push" operations to Gerrit becomes easier:

  • Custom Menu Options
    When right-clicking a local branch in the sidebar, a new Push <branch> to Gerrit… menu option is available. If you hold down the key, the item becomes a "quick" action that will be performed without a confirmation dialog.
  • Custom Toolbar Button
    You can add a custom Gerrit Push button to the toolbar. To do this, choose Customize Toolbar from the "View" main menu and drag the corresponding button onto the toolbar.

You'll find that the following dialog is optimized for pushing to Gerrit. It will automatically format the Push Refspec according to Gerrit's requirements - so you can simply enter the name of the code review branch you want to push to.