git error Another git process seems to be running in this repository

How to fix error Another git process seems to be running in this repository

When you use Git, you see the error:

 
fatal: Unable to create 'D:/AppServ/www/speedy/.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.

Another git process seems to be running in this repository

How to fix it? It’s simple: you just need to delete the file .git/index.lock

You can use this command:

rm .git/index.lock
 

Recent search terms:

  • Another git process seems to be running in this repository
  • HowtofixerrorAnothergitprocessseemstoberunninginthisrepository|FreeOnlineTutorials
  • Another git process seems to be running in this repository e g
  • 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 manuall
  • git another process
  • Another git process seems to be running in this repository e g an editor opened by git commit
  • Another git process seems to be running in this repository e g an editor opened by git commit Please make sure all processes
  • Another git process seems to be running in this repository e g an editor opened by git commit
  • Another git process seems to be running in this re
  • another git process seems to be running
原文地址:https://www.cnblogs.com/printN/p/6624703.html