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

Andrew Larter August 10, 2018

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.

3 answers

1 accepted

1 vote
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2018

Hello! This answer might have the solution you're looking for: https://community.atlassian.com/t5/Sourcetree-questions/Re-git-status-failed-with-code-128-error-bad-signature-fatal/qaq-p/207698/comment-id/6023#M6023


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

0 votes
Bilal Nadeem January 9, 2023

i've tried deleting config file that is causing error and it worked for me.

0 votes
Krzysztof Pawleta January 10, 2020

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
AUG Leaders

Atlassian Community Events