git提交代码报错,提示:fatal: Unable to create 'E:/testGit/test/.git/index.lock': File exists.
具体截图如下:
在.git目录下删除index.lock文件,即可。