How to recover from "inflateEnd: stream consistency error"

We received the error "inflateEnd: stream consistency error" when attempting to do a Pull in SourceTree (see below).

I was able to do a Pull on the same repository on a different machine without any errors.

Can anyone advise how to recover from this error?



1 answer

I've already Googled it, and that does not help us.  We only use SourceTree to interact with Git so if anyone can advise how a SourceTree user can deal with things like this that would be most helpful.

SourceTree uses the git command line client under the hood. You'll need to use the Terminal button to attempt the fixes mentioned elsewhere on the web.

All of those things seem incredibly complicated. Surely there must be an easy way to ditch the local repository and start again with a copy of the master?

Sure. I would recommend re-cloning master into a new folder (in case something goes wrong), and you can come back and delete the current repo once the new one is running smoothly. This is the second answer in the first result of that google search.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,359 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you