git pull/push origin xxx
报错如下
error: cannot lock ref 'refs/remotes/origin/xxx': unable to resolve reference refs/remotes/origin/xxx: Invalid argument
! [new branch] xxx -> origin/xxx(unable to update local ref)
解决方案:
rm .git/refs/remotes/origin/xxx
再试一次就行了
网友评论