Another git process seems to be running in this repository

后端 未结 28 2268
梦谈多话
梦谈多话 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 14:55

    If you wind up here based on the question's title ("Another git process seems to be running in this repository"), note that the accepted answer will not be directly applicable to you if the message in this question's title is preceded by another message like the one below:

    fatal: cannot lock ref 'HEAD': Unable to create '////.git/refs/heads/.lock': File exists.

    In this case, you should delete that file(.lock) instead of .git/index.lock

提交回复
热议问题