无法存档git存储库
我可以使用以下命令克隆存储库:无法存档git存储库,git,gitosis,Git,Gitosis,我可以使用以下命令克隆存储库: $ 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:Unkn
$ 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-archive-remote
请求远程为您执行归档,这是Gitosis不支持的。出现了一个添加此功能的