曾经,我非常羡慕那些人见人爱的人,我也想要变成那样,可是后来我才明白人见人爱也是需要天赋的,后来我开始默默努力,我想,就算我不能让每个人都喜欢我,至少因为我做的努力能得到别人的尊重。

git提交过程中遇到的 index.lock 问题导致无法提交的解决方法

  在提交代码的过程中,可能会遇到下面的问题:

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 ,然后将其删除即可。

  一般 index.lock 在.git下面, 有时 .git 是隐藏的,但是无论怎样, 可以通过 everything 找到,删除即可。

posted @ 2017-07-26 22:05  Wayne-Zhu  阅读(9372)  评论(0编辑  收藏  举报

一分耕耘,一分收获。