How to add a project to the gerrit code review tool?

How do I manually add a project to the gerrit code review tool?

I’ve seen some examples that execute a gerrit binary but my installation doesn’t appear to have one of these.

  • PhpStorm Git folder modified color
  • I push my project to gitlab to test git ci,but it built fail
  • npm install from private registry with fallback to a git repository URL
  • does git store diff information in commit objects?
  • Git push fail over mounted windows dir
  • Git bash is adding its current path to one of the parameter
  • git subtree changes the package directory
  • TortoiseGit save user authentication / credentials
  • 2 Solutions collect form web for “How to add a project to the gerrit code review tool?”

    For older Gerrit versions, you need to use the ssh interface. Set up your public key in the web interface then run:

    ssh -p <port> <user>@<gerrit-host> gerrit --help
    

    This will list you the available commands. What you actually need to run to create your project is:

    ssh -p <port> <user>@<gerrit-host> gerrit create-project -n <project-name>
    

    In Gerrit 2.3 and newer, you may alternatively create projects from the UI, by going to Admin->Projects->Create New Project.

    From gerrit 2.3.x, if you are in Administrator, you can create the project in the web as well.

    It is visible under Admin/Projects if you have permission.

    Git Baby is a git and github fan, let's start git clone.