|
1 | | -* text=auto eol=lf |
2 | | - |
3 | | -*.conf text eol=lf |
4 | | -*.html text eol=lf |
5 | | -*.ini text eol=lf |
6 | | -*.js text eol=lf |
7 | | -*.json text eol=lf |
8 | | -*.md text eol=lf |
9 | | -*.php text eol=lf |
| 1 | +# Created by https://www.richie-bendall.ml/gitattributes-generator/ |
| 2 | + |
| 3 | +# Common settings that generally should always be used with your language specific settings |
| 4 | + |
| 5 | +# Auto detect text files and perform LF normalization |
| 6 | +# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ |
| 7 | +* text=auto |
| 8 | + |
| 9 | +# |
| 10 | +# The above will handle all files NOT found below |
| 11 | +# |
| 12 | + |
| 13 | +# Documents |
| 14 | +*.bibtex text diff=bibtex |
| 15 | +*.doc diff=astextplain |
| 16 | +*.DOC diff=astextplain |
| 17 | +*.docx diff=astextplain |
| 18 | +*.DOCX diff=astextplain |
| 19 | +*.dot diff=astextplain |
| 20 | +*.DOT diff=astextplain |
| 21 | +*.pdf diff=astextplain |
| 22 | +*.PDF diff=astextplain |
| 23 | +*.rtf diff=astextplain |
| 24 | +*.RTF diff=astextplain |
| 25 | +*.md text |
| 26 | +*.tex text diff=tex |
| 27 | +*.adoc text |
| 28 | +*.textile text |
| 29 | +*.mustache text |
| 30 | +*.csv text |
| 31 | +*.tab text |
| 32 | +*.tsv text |
| 33 | +*.txt text |
| 34 | +*.sql text |
| 35 | + |
| 36 | +# Graphics |
| 37 | +*.png binary |
| 38 | +*.jpg binary |
| 39 | +*.jpeg binary |
| 40 | +*.gif binary |
| 41 | +*.tif binary |
| 42 | +*.tiff binary |
| 43 | +*.ico binary |
| 44 | +# SVG treated as an asset (binary) by default. |
| 45 | +*.svg text |
| 46 | +# If you want to treat it as binary, |
| 47 | +# use the following line instead. |
| 48 | +# *.svg binary |
| 49 | +*.eps binary |
| 50 | + |
| 51 | +# Scripts |
| 52 | +*.bash text eol=lf |
| 53 | +*.fish text eol=lf |
10 | 54 | *.sh text eol=lf |
11 | | -*.yaml text eol=lf |
12 | | -*.yml text eol=lf |
| 55 | +# These are explicitly windows files and should use crlf |
| 56 | +*.bat text eol=crlf |
| 57 | +*.cmd text eol=crlf |
| 58 | +*.ps1 text eol=crlf |
| 59 | + |
| 60 | +# Serialisation |
| 61 | +*.json text |
| 62 | +*.toml text |
| 63 | +*.xml text |
| 64 | +*.yaml text |
| 65 | +*.yml text |
| 66 | + |
| 67 | +# Archives |
| 68 | +*.7z binary |
| 69 | +*.gz binary |
| 70 | +*.tar binary |
| 71 | +*.tgz binary |
| 72 | +*.zip binary |
| 73 | + |
| 74 | +# Text files where line endings should be preserved |
| 75 | +*.patch -text |
| 76 | + |
| 77 | +# |
| 78 | +# Exclude files from exporting |
| 79 | +# |
| 80 | +.gitattributes export-ignore |
| 81 | +.gitignore export-ignore |
| 82 | +.gitkeep export-ignore |
| 83 | + |
| 84 | +## GITATTRIBUTES FOR WEB PROJECTS |
| 85 | +# |
| 86 | +# These settings are for any web project. |
| 87 | +# |
| 88 | +# Details per file setting: |
| 89 | +# text These files should be normalized (i.e. convert CRLF to LF). |
| 90 | +# binary These files are binary and should be left untouched. |
| 91 | +# |
| 92 | +# Note that binary is a macro for -text -diff. |
| 93 | +###################################################################### |
| 94 | + |
| 95 | +# Auto detect |
| 96 | +## Handle line endings automatically for files detected as |
| 97 | +## text and leave all files detected as binary untouched. |
| 98 | +## This will handle all files NOT defined below. |
| 99 | +* text=auto |
| 100 | + |
| 101 | +# Source code |
| 102 | +*.bash text eol=lf |
| 103 | +*.bat text eol=crlf |
| 104 | +*.cmd text eol=crlf |
| 105 | +*.coffee text |
| 106 | +*.css text |
| 107 | +*.htm text diff=html |
| 108 | +*.html text diff=html |
| 109 | +*.inc text |
| 110 | +*.ini text |
| 111 | +*.js text |
| 112 | +*.json text |
| 113 | +*.jsx text |
| 114 | +*.less text |
| 115 | +*.ls text |
| 116 | +*.map text -diff |
| 117 | +*.od text |
| 118 | +*.onlydata text |
| 119 | +*.php text diff=php |
| 120 | +*.pl text |
| 121 | +*.ps1 text eol=crlf |
| 122 | +*.py text diff=python |
| 123 | +*.rb text diff=ruby |
| 124 | +*.sass text |
| 125 | +*.scm text |
| 126 | +*.scss text diff=css |
| 127 | +*.sh text eol=lf |
| 128 | +*.sql text |
| 129 | +*.styl text |
| 130 | +*.tag text |
| 131 | +*.ts text |
| 132 | +*.tsx text |
| 133 | +*.xml text |
| 134 | +*.xhtml text diff=html |
| 135 | + |
| 136 | +# Docker |
| 137 | +Dockerfile text |
| 138 | + |
| 139 | +# Documentation |
| 140 | +*.ipynb text |
| 141 | +*.markdown text |
| 142 | +*.md text |
| 143 | +*.mdwn text |
| 144 | +*.mdown text |
| 145 | +*.mkd text |
| 146 | +*.mkdn text |
| 147 | +*.mdtxt text |
| 148 | +*.mdtext text |
| 149 | +*.txt text |
| 150 | +AUTHORS text |
| 151 | +CHANGELOG text |
| 152 | +CHANGES text |
| 153 | +CONTRIBUTING text |
| 154 | +COPYING text |
| 155 | +copyright text |
| 156 | +*COPYRIGHT* text |
| 157 | +INSTALL text |
| 158 | +license text |
| 159 | +LICENSE text |
| 160 | +NEWS text |
| 161 | +readme text |
| 162 | +*README* text |
| 163 | +TODO text |
| 164 | + |
| 165 | +# Templates |
| 166 | +*.dot text |
| 167 | +*.ejs text |
| 168 | +*.haml text |
| 169 | +*.handlebars text |
| 170 | +*.hbs text |
| 171 | +*.hbt text |
| 172 | +*.jade text |
| 173 | +*.latte text |
| 174 | +*.mustache text |
| 175 | +*.njk text |
| 176 | +*.phtml text |
| 177 | +*.tmpl text |
| 178 | +*.tpl text |
| 179 | +*.twig text |
| 180 | +*.vue text |
| 181 | + |
| 182 | +# Configs |
| 183 | +*.cnf text |
| 184 | +*.conf text |
| 185 | +*.config text |
| 186 | +.editorconfig text |
| 187 | +.env text |
| 188 | +.gitattributes text |
| 189 | +.gitconfig text |
| 190 | +.htaccess text |
| 191 | +*.lock text -diff |
| 192 | +package-lock.json text -diff |
| 193 | +*.toml text |
| 194 | +*.yaml text |
| 195 | +*.yml text |
| 196 | +browserslist text |
| 197 | +Makefile text |
| 198 | +makefile text |
| 199 | + |
| 200 | +# Heroku |
| 201 | +Procfile text |
| 202 | + |
| 203 | +# Graphics |
| 204 | +*.ai binary |
| 205 | +*.bmp binary |
| 206 | +*.eps binary |
| 207 | +*.gif binary |
| 208 | +*.gifv binary |
| 209 | +*.ico binary |
| 210 | +*.jng binary |
| 211 | +*.jp2 binary |
| 212 | +*.jpg binary |
| 213 | +*.jpeg binary |
| 214 | +*.jpx binary |
| 215 | +*.jxr binary |
| 216 | +*.pdf binary |
| 217 | +*.png binary |
| 218 | +*.psb binary |
| 219 | +*.psd binary |
| 220 | +# SVG treated as an asset (binary) by default. |
| 221 | +*.svg text |
| 222 | +# If you want to treat it as binary, |
| 223 | +# use the following line instead. |
| 224 | +# *.svg binary |
| 225 | +*.svgz binary |
| 226 | +*.tif binary |
| 227 | +*.tiff binary |
| 228 | +*.wbmp binary |
| 229 | +*.webp binary |
| 230 | + |
| 231 | +# Audio |
| 232 | +*.kar binary |
| 233 | +*.m4a binary |
| 234 | +*.mid binary |
| 235 | +*.midi binary |
| 236 | +*.mp3 binary |
| 237 | +*.ogg binary |
| 238 | +*.ra binary |
| 239 | + |
| 240 | +# Video |
| 241 | +*.3gpp binary |
| 242 | +*.3gp binary |
| 243 | +*.as binary |
| 244 | +*.asf binary |
| 245 | +*.asx binary |
| 246 | +*.fla binary |
| 247 | +*.flv binary |
| 248 | +*.m4v binary |
| 249 | +*.mng binary |
| 250 | +*.mov binary |
| 251 | +*.mp4 binary |
| 252 | +*.mpeg binary |
| 253 | +*.mpg binary |
| 254 | +*.ogv binary |
| 255 | +*.swc binary |
| 256 | +*.swf binary |
| 257 | +*.webm binary |
| 258 | + |
| 259 | +# Archives |
| 260 | +*.7z binary |
| 261 | +*.gz binary |
| 262 | +*.jar binary |
| 263 | +*.rar binary |
| 264 | +*.tar binary |
| 265 | +*.zip binary |
| 266 | + |
| 267 | +# Fonts |
| 268 | +*.ttf binary |
| 269 | +*.eot binary |
| 270 | +*.otf binary |
| 271 | +*.woff binary |
| 272 | +*.woff2 binary |
| 273 | + |
| 274 | +# Executables |
| 275 | +*.exe binary |
| 276 | +*.pyc binary |
| 277 | + |
| 278 | +# RC files (like .babelrc or .eslintrc) |
| 279 | +*.*rc text |
| 280 | + |
| 281 | +# Ignore files (like .npmignore or .gitignore) |
| 282 | +*.*ignore text |
| 283 | + |
| 284 | +# End of https://www.richie-bendall.ml/gitattributes-generator/ |
| 285 | + |
| 286 | +*.php eol=lf |
13 | 287 |
|
14 | | -.travis.yml export-ignore |
15 | | -README.md export-ignore |
| 288 | +.github export-ignore |
| 289 | +.idea export-ignore |
| 290 | +.vscode export-ignore |
| 291 | +docs export-ignore |
| 292 | +tests export-ignore |
| 293 | +.editorconfig export-ignore |
| 294 | +.php_cs.dist export-ignore |
| 295 | +.phpcs.xml export-ignore |
| 296 | +.readthedocs.yml export-ignore |
| 297 | +.scrutinizer.yml export-ignore |
| 298 | +.symfony.insight.yaml export-ignore |
| 299 | +phpdoc.dist.xml export-ignore |
| 300 | +phpunit.xml.dist export-ignore |
0 commit comments