File exists.If no other git process is currently running,

China☆狼群 提交于 2019-12-10 15:48:07

Unable to create 'C:/Users/zc/IdeaProjects/helloWorld-git/.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.

 

git锁住了,代码Revert不了,只要把

'C:/Users/zc/IdeaProjects/helloWorld-git/.git/index.lock'

这个文件删掉即可

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!