[Git]Another git process seems to be running in this repository

     如標題,操作Git時,偶然間發生這個問題,想要使用 switch / checkout, 或是 commit 都是這個錯誤 "git did not exit cleanly (exit code 128)" ,此外還有一行提示 "Another git process seems to be running in this repository",不多話,附上解法:

刪掉 .git/index.lock

收工。


參考: Another git process seems to be running in this repository - Stack Overflow

留言

這個網誌中的熱門文章

[C#] 無法載入檔案或組件 或其相依性的其中之一。 找到的組件資訊清單定義與組件參考不符。 (發生例外狀況於 HRESULT: 0x80131040)

[VibeCoding] AI Vibecoding 的地基(上):大型專案導入前的準備筆記

[VibeCoding] AI Vibecoding 的地基(下):五層架構的實作 Prompt