Reputation: 28752
My knowledge of git is minimal, apologize in advance for any wrong terminology use.
I know that git push origin HEAD:refs/for/master
creates a gerrit review and git push origin HEAD:master
pushes to the remote repository, bypassing gerrit.
How do I identify commits that were pushed straight to the remote git repository, bypassing gerrit?
Upvotes: 1
Views: 164
Reputation: 400
You may use Gerrit Query feature to get information about code reviews. For example:
ssh
${GERRIT_HOST} gerrit query --all-reviewers project:${PROJECTNAME}
commit:${COMMIT_HASH}
;Upvotes: 1