Trying to clone repo and getting error below:
git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks clone --branch main https://the repo. git D:\SASRepo
Cloning into 'D:\SASRepo'...
fatal: pack has bad object at offset 275296984: inflate returned -5
fatal: index-pack failed
Completed with errors, see above.
How can I fix this?
Welcome to the Atlassian Community!
You could try increasing the Git buffer size to handle larger data packets, or clone to avoid downloading the entire history at once. In Sourcetree, go to New > Clone, then expand the Advanced Options menu and set the clone depth to 1.
Sometimes an outdated Git version or poor network causes this loop. If shallow clone fails, run the clone command directly in your terminal to rule out Sourcetree client timeouts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.