Is there a way to determine the line endings in a existing git repo?
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 creator? I'm still uncertain whats the best setting for core.autocrlf e.g on a windows box (since there are multiple opinions: Distributing git configuration with the code or https://help.github.com/articles/dealing-with-line-endings ) Bonus question: Can you determine on windows (with standard tools) if a repo has mixed line endings (by wrong core.autocrlf setting) through all commits? To check what line endings were actually