2014-09-01 90 views
1

我打断使用Ctrl+C 一个git add -A命令,然后我跑GIT致命的:无法写入NEW_INDEX文件

git reset --mixed 

现在我再次执行git add -A 然后git commit -m "message" 但我得到

fatal: unable to write new_index file

输出

git status: 

# On branch master 
nothing to commit (working directory clean) 

你能帮我实施我的改变吗?

ps我的磁盘空间不足

+0

这会有帮助吗?你在什么操作系统上?你使用的是什么版本的git? – VonC 2014-09-01 07:22:20

+0

我正在运行Linux。 git version 1.7.1 – gabboshow 2014-09-01 07:32:05

+0

首先,检查升级到最新的Git版本(2.1+)后问题是否仍然存在:http://stackoverflow.com/a/20918469/6309:使用ppa https://launchpad.net/ 〜git-core/+ archive/ubuntu/ppa – VonC 2014-09-01 07:33:25

回答

1

错误似乎与配额问题有关。

Disk quota exceeded 

...but I have 41.3 GB in my HD

这不是链接到的可用磁盘空间。用quota -s检查你的配额。