今天我在敲完代碼快下班時準備提交代碼 當執行git add 操作的時候,出現 如下 錯誤: If no other git PRocess is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. 網上一陣搜索找到解決方法: 在項目的目錄下鼠標右鍵找到Git Bash ,鍵入 rm -f ./.git/index.lock 再次提交就OK了
新聞熱點
疑難解答