Gerrit安装后无法克隆所有项目存储库 [英] Unable to clone All-Projects repo after Gerrit install
问题描述
我有一个Gerrit的新设置实例
I have a newly setup instance of Gerrit
当前只有两个存储库: 所有项目 binutils-test
Currently there are only two repos: All-Projects binutils-test
尝试克隆所有项目时,出现以下错误:
When attempting to clone All-Projects I receive the following error:
git clone ssh://user@hostname:29418/All-Projects
Initialized empty Git repository in /home/user/
error: Trying to write ref HEAD with nonexistant object 2055f748c7285720057fe7213258e6c5b11776e3
fatal: Cannot update the ref 'HEAD'.
克隆其他存储库(binutils-test)可以正常进行,因此至少基本设置似乎可以.我的用户是管理员"组的成员,因此应该不会有任何访问问题.
Cloning of the other repository (binutils-test) works OK, so at least the basic setup seems OK. My user is a member of the Administators group, and so shouldn't have any access issues.
我的最终目标是克隆所有项目,因此我可以修改project.config以添加已验证"标签.
My end goal is cloning All-Projects so I can modify the project.config to add the Verified label.
推荐答案
此博客提供有关如何在project.config中添加已验证标签"以及需要您修改所有项目"项目的详细信息.
This blog provides details on how to add the "Verified Label" in the project.config and that required you to modify the All-Projects projects.
这篇关于Gerrit安装后无法克隆所有项目存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!