在提交代碼的過程當中,可能會遇到下面的問題:git
fatal: Unable to create 'C:/programLists/zzw-q1/.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.
這裏的解決方法就是找到 index.lock ,而後將其刪除便可。this
通常 index.lock 在.git下面, 有時 .git 是隱藏的,可是不管怎樣, 能夠經過 everything 找到,刪除便可。spa