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

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM