git问题: Another git process seems to be running in this repository
在使用git的过程中出现以下问题Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare terminated then try again. If it still fails, a 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 commit 、git stash 、重启等方式都无果后,拿出了最好的方案:
到项目的目录下删除".git/index.lock"文件即可解决
rm -f .git/index.lock
更多推荐
已为社区贡献1条内容
所有评论(0)