我在这个论坛尝试了几个解决方案,但我不能添加要提交的文件。我使用git add -A
,但我的git bash只是冻结。我已经删除了index.lock文件。似乎每次运行git add -A
时都会创建,但没有任何反应。它只是一个闪烁的光标坐在那里。我升级了我的git bash,重新初始化了我的项目,但它仍然是同样的问题。我从下面的线程以及类似的尝试了多种解决方案:不能将文件添加到git commit
Another git process seems to be running in this repository
完整的错误:
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.
我使用的是Windows 10,并使用原子是否有帮助。
你提交了多少个文件?你还等多久? – Shadow