![How to resove issue of Error: cannot lock ref 'refs/remotes/origin/bugfix/branch' : unable to create - YouTube How to resove issue of Error: cannot lock ref 'refs/remotes/origin/bugfix/branch' : unable to create - YouTube](https://i.ytimg.com/vi/K3huavtW0Hs/sddefault.jpg)
How to resove issue of Error: cannot lock ref 'refs/remotes/origin/bugfix/branch' : unable to create - YouTube
![项目记事【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)
项目记事【Git】:git pull 出错error: cannot lock ref 'refs/remotes/origin/feature/hy78861': is at d4244546c8cc3827491cc82878a23c708fd0401d but expected a6a00bf2e92620d0e06790122bab5aeee01079bf - Gerrard_Feng - 博客园
![已解决】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 – 在路上
![git pull时报错error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法(unable to update local ref) - Morango - 博客园 git pull时报错error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法(unable to update local ref) - Morango - 博客园](https://img2020.cnblogs.com/blog/2292203/202102/2292203-20210226153400431-719890563.png)
git pull时报错error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法(unable to update local ref) - Morango - 博客园
![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/git-default-branch-min.jpg?ssl=1)
Git config –global init.defaultBranch: Error cannot lock ref 'refs/remotes/origin/windows', not a directory | Learn [Solve IT]
![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 👩💻👨💻
![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)