我的一个 git
存储库出现了一个奇怪的问题。我无法添加某些文件。 Git
声明:
$ git add Konstruktion/Druckteile/1x_*
warning: CRLF will be replaced by LF in Konstruktion/Druckteile/1x_Hals.gcode.
The file will have its original line endings in your working directory.
error: unable to create temporary file: No such file or directory
error: Konstruktion/Druckteile/1x_Nickhalter_links.STL: failed to insert into database
error: unable to index file Konstruktion/Druckteile/1x_Nickhalter_links.STL
fatal: adding files failed
但仅限于此单个文件。同一目录中的所有其他文件,即使名称相似(例如 1x_Nickhalter_rechts.STL)也很有用。为什么只有这个文件?它有什么特别之处?
我该怎么做才能找出问题所在?
啊,仅供引用:它是在 Windows 8.1(64 位)上运行的 git
1.8.5.2.msysgit.0。
非常感谢。
干杯, 亨德里克
最佳答案
我在添加文件时遇到了完全相同的问题。以下对我有用:
git config --global core.fscache false
不知道它为什么有效,但希望它可以为其他人工作。
关于git - 无法创建临时文件 : no such file or directory - only for certain files?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21627588/