I want to use Bitbucket for my iOS project but I am getting error after creating repository. Please find error given below:
'git status' failed with code 128: fatal: unable to read
How can I resolve this?
I want to use Bitbucket for my iOS project but I am getting error after creating repository. Please find error given below:
'git status' failed with code 128: fatal: unable to read
How can I resolve this?
git status
is a local operation, so it should not be impacted by the fact your repository is hosted on Bitbucket.
Try (outside of XCode) a git status
to see if the issue persists: simply check the rights associated with those files, are they owned by the right user/group on your machine?
Try also to clone again your Bitbucket repository (to a new empty local folder) and see if you can read it (git status
) and import it in XCode.
If the message is "unable to read <sha1>
", then the repository might be corrupted, as detailed in:
Check this with git fsck --full
.