Import repository from git to gerrit

后端 未结 4 1729
日久生厌
日久生厌 2021-02-01 03:57

I have two questions about Gerrit:

  1. How do I convert or import an already existing Git repository into Gerrit\'s format? There were a lot of com

4条回答
  •  野性不改
    2021-02-01 04:08

    1. Just create the new project in Gerrit, and then push the git repository there. If you want to bypass review, push directly to master instead of refs/for/master. You'll need to add the permission to do this to yourself.

      I think the error message may be caused by you not having imported your ssh key to Gerrit yet.

    2. Just clone the repository from Gerrit. It won't include any extra branches.

提交回复
热议问题