Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2026.1

# Troubleshooting Gerrit one-way mirroring

Mirroring occurs upon commit or merge (depending on the Gerrit workflow), so pushing a Gerrit code review on a pseudo-branch, such as

`git push origin HEAD:refs/for/branch`

is not sufficient to fire the webhook.

To verify which repo is being mirrored, at the Git Connector command line, issue the following command:

`bin/gconn --mirrorhooks list`

The response might be similar to:

`//graphDepot/repoName <<< http://GerritHost.com/repoName.git`

which indicates that the `//graphDepot/repoName` destination repo mirrors the `http://GerritHost.com/repoName.git` source repo.

To view command-line help:

From the `GERRIT_SITE` directory, issue the command:

`./hooks/change-merged --help`

If there are any issues, review the following files, or send them to Perforce Technical Support:

On the Gerrit server:

`GERRIT_SITE/git/repoName.git/config`

On the Git Connector server:

    /opt/perforce/git-connector/repos/graphDepot/repoName.git/push_log

    /opt/perforce/git-connector/repos/graphDepot/repoName.git/fetch_log

    /opt/perforce/git-connector/repos/graphDepot/repoName.git/.mirror.log

    /opt/perforce/git-connector/gconn.conf

    /opt/perforce/git-connector/logs/gconn.log

    /opt/perforce/git-connector/logs/p4gc.log

Your search for returned results