.gitattributes 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Handle line endings automatically for files detected as text
  2. # and leave all files detected as binary untouched.
  3. * text=auto
  4. #
  5. # The above will handle all files NOT found below
  6. #
  7. # These files are text and should be normalized (Convert crlf => lf)
  8. *.css text
  9. *.groovy text
  10. *.htm text
  11. *.html text
  12. *.java text
  13. *.js text
  14. *.json text
  15. *.jelly text
  16. *.jellytag text
  17. *.properties text
  18. *.rb text
  19. *.sh text
  20. *.txt text
  21. *.xml text
  22. # These files are binary and should be left untouched
  23. # (binary is a macro for -text -diff)
  24. *.class binary
  25. *.gz binary
  26. *.tgz binary
  27. *.ear binary
  28. *.gif binary
  29. *.hpi binary
  30. *.ico binary
  31. *.jar binary
  32. *.jpg binary
  33. *.jpeg binary
  34. *.png binary
  35. *.war binary
  36. *.zip binary
  37. # Yarn
  38. # https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
  39. /.yarn/plugins/** binary