Publicly available code that's used in the course https://learnjsthehardway.com/
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.
 
 
 
 

51 lines
1.3 KiB

  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. *.js text
  14. *.json text
  15. *.htm text
  16. *.html text
  17. *.xml text
  18. *.txt text
  19. *.ini text
  20. *.inc text
  21. *.pl text
  22. *.rb text
  23. *.py text
  24. *.scm text
  25. *.sql text
  26. .htaccess text
  27. *.sh text
  28. # These files are binary and should be left untouched
  29. # (binary is a macro for -text -diff)
  30. *.png binary
  31. *.jpg binary
  32. *.jpeg binary
  33. *.gif binary
  34. *.ico binary
  35. *.mov binary
  36. *.mp4 binary
  37. *.mp3 binary
  38. *.flv binary
  39. *.fla binary
  40. *.swf binary
  41. *.gz binary
  42. *.zip binary
  43. *.7z binary
  44. *.ttf binary
  45. *.pyc binary