Gitolite 3 - 设置回购说明(未经授权)

时间:2014-09-04 08:23:44

标签: git gitolite

我正在使用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
[...]

关注setting the repo description

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

如何解释?


git@host $ cat ~/.gitolite.rc
[...]
    ENABLE => [
        [...]
        'desc',
        'cgit',
    ]
[...]

1 个答案:

答案 0 :(得分:6)

我通过阅读desc命令的代码找到了遗漏的内容(在文档中没有看到)

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