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

标签 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',
    ]
[...]

最佳答案

我通过阅读 desc 命令的代码找到了缺少的东西(在文档中没有看到)

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

关于Gitolite 3 - 设置 repo 描述(未授权),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25660615/

相关文章:

git - Redmine - Git 推送失败 [远程拒绝] 钩子(Hook)被拒绝

git - Debian 压缩 : gitolite +ssh +apache2 +suexec +http-backend

Git:如何 merge 指向同一存储库的两个文件夹

git - 如何使用 git 维护网站的 2 个版本?

git - 如何保护github中的 "master"?

ssh - 像 gitolite 这样的程序是如何工作的?

gitolite - 如何克隆并推送到在 "user"文件夹下创建的 repo

Git 分支 Bash 变量快捷方式

git-p4 将 perforce "main"分支迁移到 git 分支作为子目录(git 分支中的双代码)

Git 克隆 : "You appear to have cloned an empty repository"