I'm trying to run:
git checkout master
and im constantly getting: fatal:
failed to read object 9466835e6cb608c32ec4bf98b2acfa421fd77d3d: Permission denied
I tried running:
chown -R my-user *
with no help. any suggestions?
I'm trying to run:
git checkout master
and im constantly getting: fatal:
failed to read object 9466835e6cb608c32ec4bf98b2acfa421fd77d3d: Permission denied
I tried running:
chown -R my-user *
with no help. any suggestions?
First Try
sudo chmod -R 777 path_to_your_project_folder
If it does not work try below solution.
Try to do this happens sometimes when dangling blobs are left in git history. You can backup your .git folder and run fsck.
$ git fsck --full
Refer this answer for more details