.gitattributes 517 B

123456789101112
  1. # Handle line endings automatically for files detected as text
  2. # and leave all files detected as binary untouched.
  3. * text=auto eol=lf
  4. # Force batch scripts to always use CRLF line endings so that if a repo is accessed
  5. # in Windows via a file share from Linux, the scripts will work.
  6. *.{cmd,[cC][mM][dD]} text eol=crlf
  7. *.{bat,[bB][aA][tT]} text eol=crlf
  8. # Force bash scripts to always use LF line endings so that if a repo is accessed
  9. # in Unix via a file share from Windows, the scripts will work.
  10. *.sh text eol=lf