Another git process seems to be running in this repository

后端 未结 28 2217
梦谈多话
梦谈多话 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:07

    Try deleting index.lock file in your .git directory.

    rm -f .git/index.lock

    Such problems generally occur when you execute two git commands simultaneously; maybe one from the command prompt and one from an IDE.

提交回复
热议问题