繁体   English   中英

无法存档git存储库

[英]Unable to archive git repository

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

$ 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不支持。 Github上有一个提交似乎添加了此功能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM