I’m working on Windows with core.autocrlf
being true
. A third party code generator generates files with LF line endings. Every time code is regenerated, git status
shows that a large amount of files have changed, but most of them are only line ending changes (CRLF changes to LF). How to restore all those files with only line ending differences? Or, what should the config be so that git will ignore those line ending changes?
This question is different from How to change line-ending settings because that question is about how to change the settings, this question is about how to change the local files, or what should that settings value be.
3