首页 > 其他 > 详细

Another git process seems to be running in this repository

时间:2020-05-27 13:06:51      阅读:40      评论:0      收藏:0      [点我收藏+]

Git操作的过程中显示

Another git process semms 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 remove the file manually to continue…
即git被另一个程序占用,重启电脑一样无法解决这个问题。

大概是之前误操作的时候选择直接关闭git 窗口导致的。百度上的说法是:Git在使用过程中遭遇了奔溃,部分被上锁资源没有被释放。

解决方案:进入项目文件夹下的 .git文件中(显示隐藏文件夹或rm .git/index.lock)删除index.lock文件即可。

Another git process seems to be running in this repository

原文:https://www.cnblogs.com/tangshun100/p/12971671.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!