Another git process semms to be running in this repository, e.g. an editor opened by ‘git commit’. P

sh13523149003發表於2017-06-30

git 使用過程中遇到如圖所示問題:


解決方法:根據錯誤提示,.lock 檔案已經存在,刪除此檔案即可

使用git命令rm 刪除即可

例如:

rm /Applications/XAMPP/xamppfiles/htdocs/xingle/.git/index.lock
這個.lock 檔案是你自己的檔案

相關文章