Git 发生Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'.错误

  Git 发生 Unable to create 'D:/Model/test/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.错误。

  解决办法:

  到对应 Git 文件夹中删除的 .git文件里的 index.lock文件就OK。

  index.lock文件路径在错误提示里有,如上述错误中:D:/Model/test/.git/index.lock

  

posted @ 2019-11-27 09:36  ヤBig、Bossづ  阅读(1591)  评论(0编辑  收藏  举报