Git Question: Another git process seems to be running in this repository

問題

SourceTree按Stage All之後出現此訊息
Another git process seems to be running in this repository

解決

刪除.git目錄下的index.lock檔案就可以了
\.git>del index.lock
如果刪不掉,請等一下。因為有其他的程序正在使用此檔案
\.git>del index.lock
The process cannot access the file because it is being used by another process.
之後在刪就可以
\.git>del index.lock
Could Not Find .git\index.lock

參考書籍