Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

'git status' failed with code 128: fatal: unable to read

My technical skills and know-how with Source Tree are pathetic at best, so you'll have to be very, very slow. I use Source Tree for Unity, and the file still runs perfectly in the application, however a corrupted file formed in my folder. I removed it (perhaps foolishly) and now I receive the titled error. Source Tree will no longer allow me to access my file or commit further to it. I have no idea where to start. Thankyou for any help you can provide.

2 answers

1 accepted

0 votes
Answer accepted
Mike Corsaro Atlassian Team Aug 14, 2018

Hello! This answer might have the solution you're looking for:


To run that command, just open the repo and hit "Terminal".

Check in Sourcetree preferences if your project has proper path. It happened to me that I had the same error and somehow project path was reset.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,189 views 5 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you