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

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'

这个文件删掉即可

posted @ 2019-12-10 15:21  阿米诚  阅读(339)  评论(0编辑  收藏  举报