2013-12-09 88 views
0

我能够克隆使用此命令库:无法存档git仓库

$ git clone ssh://[email protected]:22222/MyRepo.git 
Initialized empty Git repository in /home/andrew/MyRepo/.git/ 
... 

不过,我无法将其存档:

$ git archive --remote ssh://[email protected]:22222/MyRepo.git master 
ERROR:gitosis.serve.main:Unknown command denied 

为什么会clone从不同的表现archive

回答

1

git archive --remote要求远程执行归档,Gitosis不支持。有一个commit on Github似乎添加此功能。