ajwood
ajwood

Reputation: 19057

Unable to archive git repository

I'm able to clone a repository with this command:

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

However, I'm unable to archive it:

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

Why would clone behave differently from archive?

Upvotes: 0

Views: 279

Answers (1)

Magnus Bäck
Magnus Bäck

Reputation: 11581

git archive --remote requests that the remote performs the archiving for you, something Gitosis doesn't support. There's a commit on Github that appears to add this feature.

Upvotes: 1

Related Questions