Gitolite 3 - Setting repo description (not authorized)

徘徊边缘 提交于 2019-12-23 15:52:19

问题


I'm using 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
[...]

Following the documentation on setting the repo description

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

How can this be explained ?


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

回答1:


I found what was missing by reading the code of the desc command (didn't see it in the doc)

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


来源:https://stackoverflow.com/questions/25660615/gitolite-3-setting-repo-description-not-authorized

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!