globalrefdb check
utility compare the repository refs status against the global-refdb.
ssh -p <port> <host> globalrefdb check PROJECT [--ref <ref name>] [--verbose]
Verify if the local with the global refs for a project, reporting all differences between the two SHA1s. The operation can operate on the individual ref passed as a parameter.
Any user who has been granted the ‘Administrate Server’ capability.
This command is intended to be used in scripts.
Check if all refs of the All-Users project are up-to-date with the global-refdb:
$ ssh -p 29418 review.example.com globalrefdb check All-Users