有没有办法确定现有 git 存储库中的行尾?
如果我克隆现有存储库,如何确定创建者使用了什么 core.autocrlf?
我仍然不确定 core.autocrlf 的最佳设置是什么,例如在 windows 框中(因为有多种意见: Distributing git configuration with the code或https://help.github.com/articles/dealing-with-line-结局)
奖励问题:您能否在 Windows(使用标准工具)上确定回购是否在所有提交中具有混合行结尾(通过错误的 core.autocrlf 设置)?