顯示具有 Git 標籤的文章。 顯示所有文章
顯示具有 Git 標籤的文章。 顯示所有文章

2015年1月31日 星期六

Unable to create '/.git/index.lock': File exisit

正在 commit 的時候取消,結果發現這個  error,或許其他方式也會產生

這時只需要到 ../.git/ 刪除 index.lock 即可 commit

或者是 rm -f ./.git/index.lock