【发布时间】:2011-09-23 23:01:36
【问题描述】:
在 Git 中,当使用 autocrlf = true 标志时,当行尾改变时仍然会给出警告。
我了解警告的用途,以及如何关闭行尾标志,但如何关闭警告本身?
【问题讨论】:
-
这里的所有答案都是过时的——在 git 引入 gitattributes 之后。 safecrlf 是你的朋友 autocrlf 不是!请看my answer
标签: git line-endings git-config