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

Comments

Re: Git : fatal: unable to write new_index file

Thanks for the post. Just ran into the same issue, and the cause was also lack of diskspace.

- Yuriy / yubastudios.com

Comment by Anonymous on Feb 24th, 2011 at 11:53 pm

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options