-
Generate SSH key on your local machine
ssh-keygen -t rsa
-
Add SSH to Gerrit account
Browse
-> Repositories
You can type the project name to find it. For example, type NominisYS
to find NominisYS/gerrit_demo
.
Go to project page and copy git clone ......
.
Before commit to the changes, you need to add username and email info
git config user.name test3
git config user.email [email protected]
git add -A
git commit -a -m "add comment"
git push origin HEAD:refs/for/master
refs/for/<target-branch>
[label "Verified"]
function = MaxWithBlock
value = -1 Fails
value = 0 No score
value = +1 Verified
copyAllScoresIfNoCodeChange = true
It means that compiles, passes basic unit tests.