gerrit
[!NOTE|label:references:]
.gitconfig
default groups
[!TIP]
Service Users
special references
refs/changes/*refs/meta/configrefs/meta/dashboards/*
magic references
refs/for/<branch ref>
get project.config
clone the repo
checkout
meta/configor
publish to remote
submit directly
or
update meta/config if remotes update
reset to remotes
useful refs
sandbox:
its-jira:
for project specific
for common setup
verified label
change-id
freeze main branch
[!TIP] One quirk is that the shortest possible pattern expansion must be a valid ref name thus
^refs/heads/.*/namewill fail becauserefs/heads//nameis not a valid reference but^refs/heads/.+/namewill work.
About the refs/for namespace
[!TIP] references:
refs/for/*syntax is just a short name forrefs/for/refs/*:
project.configgroups
freeze multiple branches (stable & release) for the specific account
project.configor using
exclusiveGroupPermissions
groups
only allow code review merge, forbidden code push
[!TIP|label:references:]
restriction for branches (
feature1,feature2andmain)
project.configgroups[!TIP|label:references:]
Code-Review 1+1=2
[!NOTE|label:references:]
optional label vote
[!NOTE|label:references:]
label.Label-Name.function (deprecated)
MaxWithBlock( default )
AnyWithBlock
MaxNoBlock
NoOp/NoBlock
PatchSetLock
sections
[!NOTE|label:references:]
[!NOTE|label:references:]
or setup in
label: LABEL
complex rule
[!NOTE|label:references:]
plugin
[!NOTE|label:references:]
[!TIP|label:references:]
by
rules.pl
non author cr by
project.configby
submit-requirement
[!TIP] check also:
optional validation

optional validation with auto vote


mandatory validation


tips
[!NOTE|label:references:]
Reported-by:, Tested-by: and Reviewed-by:
Reported-by:
Tested-by:
Reviewed-by:
Autogenerated copy of review notes for all changes in the git. Each log entry on the refs/notes/review branch also references the patch set on which the review is made. This functionality is provided by the review-notes plugin.
integrate in Jenkins
[!NOTE|label:references:]
stream-eventsbuild current patches only
[!NOTE] Warning: The current implementation takes into account that 'Build Current Patches Only' with 'Abort new patch sets' and 'Abort patch sets with same topic' are enabled (see help for more).

gerrit trigger generate ssh-key
css for code block
gruvbox
background :
#272727front-color:
#e8dbb6

gruvbox code block ubunut
background :
#3a122efront-color:
#eee

ubuntu code block solarized
background :
#0d2a34front-color:
#869395

solarized code block
Last updated
Was this helpful?