.gitattributes 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. ## GITATTRIBUTES FOR WEB PROJECTS
  2. #
  3. # These settings are for any web project.
  4. #
  5. # Details per file setting:
  6. # text These files should be normalized (i.e. convert CRLF to LF).
  7. # binary These files are binary and should be left untouched.
  8. #
  9. # Note that binary is a macro for -text -diff.
  10. ######################################################################
  11. # Auto detect
  12. ## Handle line endings automatically for files detected as
  13. ## text and leave all files detected as binary untouched.
  14. ## This will handle all files NOT defined below.
  15. * text=auto
  16. # Source code
  17. *.bash text eol=lf
  18. *.bat text eol=crlf
  19. *.cmd text eol=crlf
  20. *.coffee text
  21. *.css text
  22. *.htm text diff=html
  23. *.html text diff=html
  24. *.inc text
  25. *.ini text
  26. *.js text
  27. *.json text
  28. *.jsx text
  29. *.less text
  30. *.ls text
  31. *.map text -diff
  32. *.od text
  33. *.onlydata text
  34. *.php text diff=php
  35. *.pl text
  36. *.ps1 text eol=crlf
  37. *.py text diff=python
  38. *.rb text diff=ruby
  39. *.sass text
  40. *.scm text
  41. *.scss text diff=css
  42. *.sh text eol=lf
  43. *.sql text
  44. *.styl text
  45. *.tag text
  46. *.ts text
  47. *.tsx text
  48. *.xml text
  49. *.xhtml text diff=html
  50. # Docker
  51. Dockerfile text
  52. # Documentation
  53. *.ipynb text
  54. *.markdown text
  55. *.md text
  56. *.mdwn text
  57. *.mdown text
  58. *.mkd text
  59. *.mkdn text
  60. *.mdtxt text
  61. *.mdtext text
  62. *.txt text
  63. AUTHORS text
  64. CHANGELOG text
  65. CHANGES text
  66. CONTRIBUTING text
  67. COPYING text
  68. copyright text
  69. *COPYRIGHT* text
  70. INSTALL text
  71. license text
  72. LICENSE text
  73. NEWS text
  74. readme text
  75. *README* text
  76. TODO text
  77. # Templates
  78. *.dot text
  79. *.ejs text
  80. *.haml text
  81. *.handlebars text
  82. *.hbs text
  83. *.hbt text
  84. *.jade text
  85. *.latte text
  86. *.mustache text
  87. *.njk text
  88. *.phtml text
  89. *.tmpl text
  90. *.tpl text
  91. *.twig text
  92. *.vue text
  93. # Configs
  94. *.cnf text
  95. *.conf text
  96. *.config text
  97. .editorconfig text
  98. .env text
  99. .gitattributes text
  100. .gitconfig text
  101. .htaccess text
  102. *.lock text -diff
  103. package-lock.json text -diff
  104. *.toml text
  105. *.yaml text
  106. *.yml text
  107. browserslist text
  108. Makefile text
  109. makefile text
  110. # Heroku
  111. Procfile text
  112. # Graphics
  113. *.ai binary
  114. *.bmp binary
  115. *.eps binary
  116. *.gif binary
  117. *.gifv binary
  118. *.ico binary
  119. *.jng binary
  120. *.jp2 binary
  121. *.jpg binary
  122. *.jpeg binary
  123. *.jpx binary
  124. *.jxr binary
  125. *.pdf binary
  126. *.png binary
  127. *.psb binary
  128. *.psd binary
  129. # SVG treated as an asset (binary) by default.
  130. *.svg text
  131. # If you want to treat it as binary,
  132. # use the following line instead.
  133. # *.svg binary
  134. *.svgz binary
  135. *.tif binary
  136. *.tiff binary
  137. *.wbmp binary
  138. *.webp binary
  139. # Audio
  140. *.kar binary
  141. *.m4a binary
  142. *.mid binary
  143. *.midi binary
  144. *.mp3 binary
  145. *.ogg binary
  146. *.ra binary
  147. # Video
  148. *.3gpp binary
  149. *.3gp binary
  150. *.as binary
  151. *.asf binary
  152. *.asx binary
  153. *.fla binary
  154. *.flv binary
  155. *.m4v binary
  156. *.mng binary
  157. *.mov binary
  158. *.mp4 binary
  159. *.mpeg binary
  160. *.mpg binary
  161. *.ogv binary
  162. *.swc binary
  163. *.swf binary
  164. *.webm binary
  165. # Archives
  166. *.7z binary
  167. *.gz binary
  168. *.jar binary
  169. *.rar binary
  170. *.tar binary
  171. *.zip binary
  172. # Fonts
  173. *.ttf binary
  174. *.eot binary
  175. *.otf binary
  176. *.woff binary
  177. *.woff2 binary
  178. # Executables
  179. *.exe binary
  180. *.pyc binary
  181. # RC files (like .babelrc or .eslintrc)
  182. *.*rc text
  183. # Ignore files (like .npmignore or .gitignore)
  184. *.*ignore text