.gitattributes 459 B

1234567891011
  1. # https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
  2. # Automatically normalize line endings (to LF) for all text-based files.
  3. * text=auto eol=lf
  4. # Declare files that will always have CRLF line endings on checkout.
  5. *.{cmd,[cC][mM][dD]} text eol=crlf
  6. *.{bat,[bB][aA][tT]} text eol=crlf
  7. # Denote all files that are truly binary and should not be modified.
  8. *.{ico,png,jpg,jpeg,gif,webp,svg,woff,woff2} binary