git pull/push origin xxx
報(bào)錯(cuò)如下
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
再試一次就行了