unable to resolve reference code example
Example 1: git unable to update local ref
git gc --prune=now
git remote prune origin
rm .git/refs/remotes/origin/master
git fetch
git pull origin master
Example 2: unable to resolve reference git
rm .git/refs/remotes/origin/master
git fetch --prune