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

It's a Git error, not a SourceTree one:


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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,932 views 7 10
Read article

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