cannot update the ref..Not a directory

Viewed 1348

I am on master branch and trying to pull. I get following error:

error: cannot update the ref 'refs/remotes/origin/hotfix/occupancy': unable to append to '.git/logs/refs/remotes/origin/hotfix/occupancy': Not a directory
From github.com:oyorooms/oyo-retention-service
 ! [new branch]        hotfix/occupancy -> origin/hotfix/occupancy  (unable to update local ref)

I have tried following commands:

git gc --prune=now
git remote prune origin
git pull

But none worked for me. Please help.

NOTE: git pull origin master is working, But i need to correct this error.

0 Answers
Related