You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
459 B

  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