0

I try to get a private repository by doing git archive as follows.

git archive --remote=ssh://git@bitbucket.org/your_bitbucket_username/your_repository.git 
--format=zip --output="name_of_your_desired_zip_file.zip" master

as explained here

I had set up ssh for windows as explained here and added public key to the bit bucket account.

But I am always getting this error

Connection to bitbucket.org closed by remote host. fatal: The remote end hung up unexpectedly

Any idea why this is happening.

The download starts but the download stops well below 2000 kb. Any idea whats wrong?

Community
  • 1
  • 1
VivekDev
  • 20,868
  • 27
  • 132
  • 202

0 Answers0