git archive fatal:プロトコルは操作をサポートしていません。

git archive fatal:プロトコルは操作をサポートしていません。

私はgit cloneこれをすることができます...

 git clone https://github.com/stackforge/puppet-heat.git

...問題ありません。しかし、私はレプリカに付属しているすべてのgitメタエントリを除外したいので、それを使用すると思いましたが、次のgit archiveエラーが発生します。

$ git archive --remote=https://github.com/stackforge/puppet-heat.git 
fatal: Operation not supported by protocol.

なぜまたは私が間違っているのか知っている人はいますか?

ベストアンサー1

githubのsvnサポートを使用できます。

svn export https://github.com/user/project/trunk

詳しくはこちらをご覧ください。

https://stackoverflow.com/questions/9609835/git-export-from-github-remote-repository

おすすめ記事