【发布时间】:2016-03-18 11:25:05
【问题描述】:
我几乎每次尝试通过 linux 终端执行 git add . 时都会收到以下消息:
fatal: Unable to create '/home/www/project/.git/index.lock': File exists.
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.
如果我 rm 文件 index.lock 那么一切正常。这仅在 Sublime Text 打开时发生。如果我关闭程序,我可以毫无问题地通过控制台提交。
【问题讨论】:
标签: git sublimetext2 sublimetext3