Error: git pull fails “unable to resolve reference” “unable to update local ref”
When I run a simple git pull command, I get this error:
unable to resolve reference refs/remotes/origin
To solve git unable to update local ref:
This happens when there are unnecessary files in your system, so clean-up your local repository with the following commands:
$ git gc --prune=now
$ git remote prune origin
Hope this answer helps you!