Is there a way to determine the line endings in a existing git repository?
If I clone a existing repository how do I determine what core.autocrlf was used by the cre
To check what line endings were actually committed in the repository (regardless of your core.autocrlf setting), try the following:
core.autocrlf
git grep -I --files-with-matches --perl-regexp '\r' HEAD
(-I means that binary files should not be looked at.)
-I