【发布时间】:2019-07-02 18:09:03
【问题描述】:
这与这个问题非常相似: What is the differrence between `* text=auto` and `* text eol=lf` in .gitattributes?
但我特别问为什么我应该使用* text=auto eol=lf 而不是* text eol=lf,反之亦然?
据我了解,eol 会覆盖 text 设置,那么使用前者有什么意义呢?有区别吗?如果是这样 - 如何?
我现在正在阅读很多网站和 Stack Overflow 问题/答案 - 但我仍然完全糊涂。尤其是当我看到这种变化时:https://github.com/git/git/blob/master/Documentation/RelNotes/2.10.0.txt#L248
我发现更改的措辞很难读懂,以至于我现在一点也不聪明。有人可以解释一下吗?
【问题讨论】:
标签: git gitattributes