Gitolite 3 - 设置仓库描述(未授权)

4

我正在使用 Gitolite 3.6 版本

$ ssh git@host info
hello you, this is got@Git running gitolite3 v3.6.1-6-gdc8b590 on git 1.7.10.4
[...]
R W   my_project
[...]

根据设置仓库描述的文档,您可以进行以下操作:

$ ssh git@host desc my_project "Machin chouette"
FATAL: you are not authorized

这怎么解释呢?
git@host $ cat ~/.gitolite.rc
[...]
    ENABLE => [
        [...]
        'desc',
        'cgit',
    ]
[...]
1个回答

6

通过阅读desc命令的代码(文档中没有发现),我找到了缺失的部分。

git@host $ nano ~/.gitolite.rc
%RC = (
    [...]
    WRITER_CAN_UPDATE_DESC          => 1,
    [...]
)

不错的发现。我也发现在这方面文档特别匮乏。 - musiKk

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接