![Local git repo corrupted? All files recognised as new and pull failed - Cannot lock ref, reference broken - Stack Overflow Local git repo corrupted? All files recognised as new and pull failed - Cannot lock ref, reference broken - Stack Overflow](https://i.stack.imgur.com/avBD3.png)
Local git repo corrupted? All files recognised as new and pull failed - Cannot lock ref, reference broken - Stack Overflow
![Meme Overflow på Twitter: "Git fatal: cannot lock ref https://t.co/hSEAnHglen #git #gitbranch #gitcheckout https://t.co/37ggAl0VrV" / Twitter Meme Overflow på Twitter: "Git fatal: cannot lock ref https://t.co/hSEAnHglen #git #gitbranch #gitcheckout https://t.co/37ggAl0VrV" / Twitter](https://pbs.twimg.com/media/E7ewAO_X0AAjB73.jpg)
Meme Overflow på Twitter: "Git fatal: cannot lock ref https://t.co/hSEAnHglen #git #gitbranch #gitcheckout https://t.co/37ggAl0VrV" / Twitter
![Git config –global init.defaultBranch: Error cannot lock ref 'refs/remotes/origin/windows', not a directory | Learn [Solve IT] Git config –global init.defaultBranch: Error cannot lock ref 'refs/remotes/origin/windows', not a directory | Learn [Solve IT]](https://i0.wp.com/techdirectarchive.com/wp-content/uploads/2021/10/err2Capture.png?ssl=1)
Git config –global init.defaultBranch: Error cannot lock ref 'refs/remotes/origin/windows', not a directory | Learn [Solve IT]
![Error: cannot lock ref 'refs/remotes/origin/windows': unable to resolve reference 'refs/remotes/origin/windows', Not a directory | Learn [Solve IT] Error: cannot lock ref 'refs/remotes/origin/windows': unable to resolve reference 'refs/remotes/origin/windows', Not a directory | Learn [Solve IT]](https://i0.wp.com/techdirectarchive.com/wp-content/uploads/2022/02/Screenshot-2022-02-08-at-15.53.11.jpg?ssl=1)
Error: cannot lock ref 'refs/remotes/origin/windows': unable to resolve reference 'refs/remotes/origin/windows', Not a directory | Learn [Solve IT]
![git - Github desktop "error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference' ( - Stack Overflow git - Github desktop "error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference' ( - Stack Overflow](https://i.stack.imgur.com/9tg8h.png)
git - Github desktop "error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference' ( - Stack Overflow
![已解决】git push报错:remote rejected master master cannot lock ref refs/heads/master reference already exists – 在路上 已解决】git push报错:remote rejected master master cannot lock ref refs/heads/master reference already exists – 在路上](https://www.crifan.com/files/pic/uploads/2021/03/9bcef61262914d0696e868796ca628fe.jpg)
已解决】git push报错:remote rejected master master cannot lock ref refs/heads/master reference already exists – 在路上
![Só Faz] Git Error: error: cannot lock ref 'branch_a': 'branch_b'; cannot create 'branch_a' - DEV Community 👩💻👨💻 Só Faz] Git Error: error: cannot lock ref 'branch_a': 'branch_b'; cannot create 'branch_a' - DEV Community 👩💻👨💻](https://dev.to/social_previews/article/787675.png)
Só Faz] Git Error: error: cannot lock ref 'branch_a': 'branch_b'; cannot create 'branch_a' - DEV Community 👩💻👨💻
![项目记事【Git】:git pull 出错error: cannot lock ref 'refs/remotes/origin/feature/hy78861': is at d4244546c8cc3827491cc82878a23c708fd0401d but expected a6a00bf2e92620d0e06790122bab5aeee01079bf - Gerrard_Feng - 博客园 项目记事【Git】:git pull 出错error: cannot lock ref 'refs/remotes/origin/feature/hy78861': is at d4244546c8cc3827491cc82878a23c708fd0401d but expected a6a00bf2e92620d0e06790122bab5aeee01079bf - Gerrard_Feng - 博客园](https://img2020.cnblogs.com/blog/941490/202106/941490-20210607165801833-192657863.png)