我正在使用 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',
]
[...]
最佳答案
我通过阅读 desc
命令的代码找到了缺少的东西(在文档中没有看到)
git@host $ nano ~/.gitolite.rc
%RC = (
[...]
WRITER_CAN_UPDATE_DESC => 1,
[...]
)
关于Gitolite 3 - 设置 repo 描述(未授权),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25660615/