赞
踩
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被另外一个程序占用,重启机器也不能够得到解决。
出现这个问题的解决办法就是:
进入项目文件夹下的 .git文件中(显示隐藏文件夹或rm .git/index.lock)删除index.lock文件即可。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。