0
点赞
收藏
分享

微信扫一扫

git error 已解决【Another git process seems to be running in this repository, e.g. an editor opened by】


文章目录

  • ​​异常​​
  • ​​原因​​
  • ​​解决办法​​
  • ​​图解​​

异常

fatal: Unable to create 'D:/javapub/JavaPub-Web/.git/index. lock': File exists. 

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 error 已解决【Another git process seems to be running in this repository, e.g. an editor opened by】_git
很明显,文件被锁住了,删除文件 ​​​.git/index. lock​

解决办法

删除文件 ​​.git/index. lock​

重新提交

图解

git error 已解决【Another git process seems to be running in this repository, e.g. an editor opened by】_github_02

举报

相关推荐

0 条评论