Skip to content

Latest commit

 

History

History
49 lines (24 loc) · 1.91 KB

setting-up-git-to-work-with-gerrit-82a5dfe.md

File metadata and controls

49 lines (24 loc) · 1.91 KB

Setting Up Git to Work with Gerrit

Gerrit is a web-based software code review tool for reviewing, approving, or rejecting changes to the source code developed by your colleagues. Gerrit works as an intermediate environment for source control between the local environment and the remote Git repository.

You configured the required Cloud Connector and destination in your account.

Procedure

  1. Enable Gerrit:

    1. Navigate to File > Preferences > Settings.

    2. From the list of preferences, under Extensions, click Sapbas.

    3. Under Gerrit: Enabled, select the Whether gerrit is enabled checkbox.

    4. Under Gerrit: Configuration, click Add Item and add the required properties (hookPath, protocol, and hostname) and their values, which can be obtained from your organization's Gerrit administrator.

      This is the configuration for SAP WDF Gerrit system:

      Sample Gerrit Configuration

  2. Clone your project. See Cloning Repositories.

  3. Perform your change and create a commit. See Commit (Amend) Changes.

  4. From the SOURCE CONTROL view menu, click More Actions.

    More actions

  5. Select Push to Gerrit.

    Push to Gerrit

Related Information

Cloud Connector

Install the cloud connector

Configure Systems in Cloud Connector