在使用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
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐