when i try to clone a 1.4GB repository from Bitbucker server, I always get the error: fatal: the remote end hung up unexpectedly error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
works fine with smaller repositories or if I clone to a depth of 200 on the large repository. Cloning to depth returns only main branch and attempts to fetch other branches at any depth fails with same error as above.
Hi @Richard Parsons,
Instead of using HTTP protocol to clone, I suggest you use SSH protocol. You can create a public key in git bash using below command :
ssh-keygen -t rsa
This would create an id_rsa.pub under .ssh folder in your user folder. Copy the public key and paste in under Manage account > SSH keys of your bitbucket account. This way you can authenticate via ssh easily and you wouldn`t find such issues like you found in HTTP.
Hope this helps
Regards,
Rajath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.