Team, Can you please help us to resolve while pulling the code from git atlassian bit bucket using git bash and source tree we are getting early index failed fatal error and using tortoise git it gives pack truncated.
I increased the buffer size and tried still same erorr it goes till 52% then it throws the below error.
Please find the below attached screenshot of the error
fatal:early EOF
fatal: the remote end hung up unexpectedly
faltal:index-pack failed
Hello Chaitra and welcome to the Community!
Thank you for providing information about how you’re using the product along with the error you see when the issue occurs.
To clarify, you’re having this issue on the Bitbucket cloud product, and the error is prompted locally on your end. With this said, there is a StackOverflow thread which covers this same error and event. You may find the reference thread here at StackOverFlow | fatal: early EOF fatal: index-pack failed which explains to do the following:
First, turn off compression:
git config --global core.compression 0Next, let's do a partial clone to truncate the amount of info coming down:
git clone --depth 1 <repo_URI>When that works, go into the new directory and retrieve the rest of the clone:
git fetch --unshallowor, alternately,
git fetch --depth=2147483647Now, do a regular pull:
git pull --allI think there is a glitch with msysgit in the 1.8.x versions that exacerbates these symptoms, so another option is to try with an earlier version of git (<= 1.8.3, I think).
Additionally, if your using Bitbucket server you may want to review Git Clone Fails - fatal: The remote end hung up unexpectedly. fatal: early EOF fatal: index-pack failed which covers the error message you have for the server products.
Please let us know if either of these assisted with resolving the issue or if your error is still present.
Regards,
Stephen Sifers
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.