Another git process seems to be running in this repository

后端 未结 28 2302
梦谈多话
梦谈多话 2020-11-29 14:34

I\'m trying to learn how to use Git and have created a small project with an HTML, CSS, and Javascript file. I made a branch from my basically empty project and then made so

28条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-29 15:05

    It is similar to above methods but in my case I had several of those

    .git/refs/heads/.lock
    

    and was able to remove all at once by this way

    find -name "*.lock" -exec xargs rm {} \;
    

提交回复
热议问题