本文介绍了Git'致命的:无法写入新的索引文件'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过很多关于此的其他线索,并且他们没有帮助。

I've seen many of the other threads about this and they don't help.

我有一个非常简单的回购 - 两个JavaScript文件。我在Macbook上有超过100个GB。当我尝试将文件移动到子目录并在本地登台时,我得到的更改...

I have a very simple repo - two JavaScript files. I have 100+ GB on Macbook. When I try to move the files into a subdirectory and stage locally the changes I get ...

无论我在终端中执行所有操作,还是使用SourceTree等GUI,都会发生这种情况。此外,其中一个文件被锁定,我无法删除工作目录,直到我注销并返回。

This happens whether I do all actions in terminal or if I use a GUI like SourceTree. Additionally, one of the files becomes locked and I cannot delete the working directory until I log off and back in.

为什么会发生这种情况?锁是否阻止某些东西升级?如果是这样,我怎么解锁OS X上的问题文件?远程回购是谷歌代码,如果这有所作为,但我不推向遥控器。一切都是本地的。

Why is this happening? Is the lock preventing something from staging? If so, what/how do I unlock the problem file on OS X?? The remote repo is Google Code, if that makes a difference, though I am not pushing to the remote yet. Everything is local.

推荐答案

在我的情况下,磁盘空间不足,所以我不得不从硬盘中删除文件以腾出空间。

In my case, the disk ran out of space, so I had to delete files from the hard drive to make space.

这篇关于Git'致命的:无法写入新的索引文件'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 16:09