【问题标题】:Unable to archive git repository无法归档 git 存储库
【发布时间】:2013-12-09 17:05:20
【问题描述】:

我可以使用以下命令克隆存储库:

$ git clone ssh://gitosis@myhost.com:22222/MyRepo.git
Initialized empty Git repository in /home/andrew/MyRepo/.git/
...

但是,我无法存档:

$ git archive --remote ssh://gitosis@myhost.com:22222/MyRepo.git master
ERROR:gitosis.serve.main:Unknown command denied

为什么clone 的行为与archive 不同?

【问题讨论】:

    标签: git gitosis


    【解决方案1】:

    git archive --remote 请求远程为您执行归档,这是 Gitosis 不支持的。有一个 commit on Github 似乎添加了此功能。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-01
      • 2018-11-23
      • 2011-03-14
      • 2018-08-27
      • 1970-01-01
      相关资源
      最近更新 更多