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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.