.gitattributes 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # .gitattributes snippet to force users to use same line endings for project.
  2. #
  3. # Handle line endings automatically for files detected as text
  4. # and leave all files detected as binary untouched.
  5. * text=auto
  6. #
  7. # The above will handle all files NOT found below
  8. # https://help.github.com/articles/dealing-with-line-endings/
  9. # https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
  10. # These files are text and should be normalized (Convert crlf => lf)
  11. *.php text
  12. *.css text
  13. *.scss text
  14. *.js text
  15. *.json text
  16. *.htm text
  17. *.html text
  18. *.xml text
  19. *.txt text
  20. *.ini text
  21. *.inc text
  22. *.pl text
  23. *.rb text
  24. *.py text
  25. *.scm text
  26. *.sql text
  27. .htaccess text
  28. *.sh text
  29. Dockerfile* text
  30. *.yml text
  31. *.yaml text
  32. *.md text
  33. *.markdown text
  34. # These files are binary and should be left untouched
  35. # (binary is a macro for -text -diff)
  36. *.png binary
  37. *.jpg binary
  38. *.jpeg binary
  39. *.gif binary
  40. *.ico binary
  41. *.mov binary
  42. *.mp4 binary
  43. *.mp3 binary
  44. *.flv binary
  45. *.fla binary
  46. *.swf binary
  47. *.gz binary
  48. *.zip binary
  49. *.7z binary
  50. *.ttf binary
  51. *.pyc binary