Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Github 如何结束';另一个git进程&x27;在同一个存储库中运行?_Github - Fatal编程技术网

Github 如何结束';另一个git进程&x27;在同一个存储库中运行?

Github 如何结束';另一个git进程&x27;在同一个存储库中运行?,github,Github,在我第一次尝试提交几个大文件夹(angular和django)后,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 crash

在我第一次尝试提交几个大文件夹(angular和django)后,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文件夹中的index.lock

我已经这样做了,但是第二次我重新提交“git add”。作为我的git push origin主例程的一部分,index.lock文件在.git中重新出现

还有别的解决办法吗?到底发生了什么事

我已经尝试了评论链接中的所有建议

我正在处理这个问题:

 git version 2.13.5 (Apple Git-94)

在我的情况下,index.lock不会删除。相反,我发现我的一个django文件夹缺少.gitignore,因此我创建了一个,并包含以下文件:

include
lib
include
bin
.vscode

您可能希望包含更多或更少,具体取决于。。显然,我试图推送一个与git不一致的文件

你试过所有的解决方案了吗?你在Windows上吗?你的git版本是什么?