Skip to content

jskskjnekd/Gerrit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Gerrit Usage

What is Gerrit

Procedures

How to use Gerrit

Add SSH Key

  • Generate SSH key on your local machine

    • ssh-keygen -t rsa
  • Add SSH to Gerrit account

add ssh key

Find the project you want to contribute

Browse -> Repositories

You can type the project name to find it. For example, type NominisYS to find NominisYS/gerrit_demo.

find your project

Fork the project

Go to project page and copy git clone .......

fork project

Contribute code and commit

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"

Push to gerrit server

git push origin HEAD:refs/for/master

refs/for/<target-branch>

Terms

Label Verified

  [label "Verified"]
      function = MaxWithBlock
      value = -1 Fails
      value = 0 No score
      value = +1 Verified
      copyAllScoresIfNoCodeChange = true

It means that compiles, passes basic unit tests.

About

A General Introduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published