rm .git/refs/remotes/origin/master

$ git pull
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 15 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (15/15), done.
error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference refs/remotes/origin/master: Invalid argument
From https://git.coding.net/z2k/hycc_backend

 ! [new branch]      master     -> origin/master  (unable to update local ref)


解决方案:

rm .git/refs/remotes/origin/master
git fetch

你可能感兴趣的:(rm .git/refs/remotes/origin/master)