How do I set all files in a subdirectory to use a specific eol using gitattributes?
问题 I've been trying to set specific files to always use lf and not crlf regardless of autocrlf on the local system. I tried creating a .gitattributes at the root of the project that only contained SquishIt.Tests/js/*.js eol=lf and I also tried SquishIt.Tests/js/ eol=lf . I pushed both of these attempts to my remote and then tried cloning it locally twice. The files under /js/ always showed up with CR+LF in both cases as autocrlf is on globally for me. I'm on a Windows machine, just in case it