martin-cotta
6/14/2018 - 5:13 AM

git pull error: cant lock refs

git pull error: cannot lock ref 'refs/tags/xxx': 'refs/tags' exists; cannot create 'refs/tags/xxx'

# assuming the error says: 'refs/tags' exists
git update-ref -d refs/tags
git fetch --all