标签搜索

git pull 拉取报错:error: cannot lock ref 'refs/remotes/origin/dev': unable to resolve reference 'refs/remotes/origin/dev': reference broken

basil
2023-07-10 / 44 阅读

解决办法

删除报错分支对应的refs

rm .git/refs/remotes/origin/dev
0