The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree clone failing with pack has bad object at offset

Dustin Goodyear
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2024

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?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
June 10, 2026

Hi @Dustin Goodyear

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.

TAGS
AUG Leaders

Atlassian Community Events