Gitolite 3 - 设置回购描述(未授权) [英] Gitolite 3 - Setting repo description (not authorized)

查看:154
本文介绍了Gitolite 3 - 设置回购描述(未授权)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Gitolite 3.6

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

这怎么解释?

< hr>

How can this be explained ?

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


推荐答案

通过阅读 desc 命令(在doc中没有看到它)

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,
    [...]
)

这篇关于Gitolite 3 - 设置回购描述(未授权)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆