git提交未完成时窗口关闭问题

git 命令框中出现下面的代码提示:

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

解决的办法:直接打开隐藏的文件夹.git打开,删除里面的index.lock文件,重新执行命令。

你可能感兴趣的:(git)