GitHub桌面:“这个文件是空的” [英] GitHub Desktop: "This file is empty"
问题描述
文件 naaclhlt2016.tex
在客户端或版本库中不为空,但GitHub桌面显示此文件为空。什么可以解释这一点?
文件 naaclhlt2016.tex
存在于GitHub存储库上:
p>
git status
:
当我尝试同步时会产生冲突:
经过讨论,如果更改tex文件只是根据元数据(而不是实际的文件内容更改,在乳胶重新编译之后),GitHub桌面可能无法显示任何更改。
因为即使git状态列出了这个文件,它也没有检测到任何变化,所以它回退到这个文件是空的消息。
The file naaclhlt2016.tex
is not empty on the client or in the repository, however GitHub Desktop displays "This file is empty". What could explain this?
The file naaclhlt2016.tex
is present on GitHub repository:
git status
:
It creates conflict when I try to sync:
After discussion, if the change of the tex file is only in term of metadata (and not actual file content change, after a latex recompilation), the GitHub Desktop might be unable to display any change.
Since it detects no change even though the git status list this file, it falls back to a "this file is empty" message.
这篇关于GitHub桌面:“这个文件是空的”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!