I' using windows, git bash prompt
I'm trying to use the git archive command with bitbucket
and I receive the error remote: "git upload-archive: archiver died with error"
Any ideas ?
git archive --remote=ssh://git@bitbucket.org/username/reponame.git --format=tar --output="file.tar"
I have created all SSH keys and public keys etc and even tested ssh -v hg@bitbucket.org and it works fine
You cannot get just an archive without precising the tree-is you want to get, when you are using
--remote
Would work, mentioning a name of a branch.
That would work too with the name of a tag.
However, according to this thread, a commit ID would not work: