Git unable to resolve reference and unable to update local ref messages
I’ve recently had an error of:
[code]error: unable to resolve reference refs/remotes/origin/…[/code]
while doing a “git pull”. Since I’ve never seen this one before, I’ve turned to the net for some resolutions. According to many one has to do either a:
[code]git gc –prune=now[/code]
Whatever I’ve tried did not work. After a while I saw that all the files in the refs/remotes/origin/… directory where being reported with “0”. In the end, my solution was to remove all those file and then issue a simple “git pull” in order to bring down the references again.