Git : fatal: unable to write new_index file

Posted on April 5th, 2010 by David Luhman and tagged .

Let's say you try the following command :

$ git status
fatal: unable to write new_index file

One cause of this that I found was that my file system had run out of space. Finding large directories with something like the following helped clean up some log files that had run wild :

$ du -h / | grep ^[0-9.]*G