gpt4 book ai didi

git - 无法创建临时文件 : no such file or directory - only for certain files?

转载 作者:太空狗 更新时间:2023-10-29 13:20:11 25 4
gpt4 key购买 nike

我的一个 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com