|
1 | | -# Common settings that generally should always be used with your language specific settings |
2 | | - |
3 | | -# Auto detect text files and perform LF normalization |
4 | | -* text=auto |
5 | | - |
6 | | -# |
7 | | -# The above will handle all files NOT found below |
8 | | -# |
9 | | - |
10 | | -# Documents |
11 | | -*.bibtex text diff=bibtex |
12 | | -*.doc diff=astextplain |
13 | | -*.DOC diff=astextplain |
14 | | -*.docx diff=astextplain |
15 | | -*.DOCX diff=astextplain |
16 | | -*.dot diff=astextplain |
17 | | -*.DOT diff=astextplain |
18 | | -*.pdf diff=astextplain |
19 | | -*.PDF diff=astextplain |
20 | | -*.rtf diff=astextplain |
21 | 1 | # Basic .gitattributes for a python repo. |
22 | 2 |
|
23 | 3 | # Source files |
|
38 | 18 | *.pickle binary |
39 | 19 | *.pyc binary export-ignore |
40 | 20 | *.pyo binary export-ignore |
41 | | -# Apply override to all files in the directory |
42 | | -*.md linguist-detectable |
| 21 | +*.pyd binary |
| 22 | + |
| 23 | +# Jupyter notebook |
| 24 | +*.ipynb text eol=lf |
| 25 | + |
| 26 | +# Note: .db, .p, and .pkl files are associated |
| 27 | +# with the python modules ``pickle``, ``dbm.*``, |
| 28 | +# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` |
| 29 | +# (among others). |
| 30 | + |
43 | 31 | # Basic .gitattributes for a R repo. |
44 | 32 |
|
45 | 33 | # Source files |
|
51 | 39 | *.rds binary |
52 | 40 | *.Rd text |
53 | 41 | *.Rdx binary |
54 | | -*.Rmd text |
55 | | -*.R text |
| 42 | +*.Rmd text |
| 43 | +*.R text |
56 | 44 | *.Rproj text |
57 | 45 | *.[Rr]md linguist-detectable |
| 46 | + |
| 47 | +# Common settings that generally should always be used with your language specific settings |
| 48 | + |
| 49 | +# Auto detect text files and perform LF normalization |
| 50 | +* text=auto |
| 51 | + |
| 52 | +# |
| 53 | +# The above will handle all files NOT found below |
| 54 | +# |
| 55 | + |
| 56 | +# Documents |
| 57 | +*.bibtex text diff=bibtex |
| 58 | +*.doc diff=astextplain |
| 59 | +*.DOC diff=astextplain |
| 60 | +*.docx diff=astextplain |
| 61 | +*.DOCX diff=astextplain |
| 62 | +*.dot diff=astextplain |
| 63 | +*.DOT diff=astextplain |
| 64 | +*.pdf diff=astextplain |
| 65 | +*.PDF diff=astextplain |
| 66 | +*.rtf diff=astextplain |
| 67 | +*.RTF diff=astextplain |
| 68 | +*.md text diff=markdown |
| 69 | +*.mdx text diff=markdown |
| 70 | +*.tex text diff=tex |
| 71 | +*.adoc text |
| 72 | +*.textile text |
| 73 | +*.mustache text |
| 74 | +*.csv text eol=crlf |
| 75 | +*.tab text |
| 76 | +*.tsv text |
| 77 | +*.txt text |
| 78 | +*.sql text |
| 79 | +*.epub diff=astextplain |
| 80 | + |
| 81 | +# Graphics |
| 82 | +*.png binary |
| 83 | +*.jpg binary |
| 84 | +*.jpeg binary |
| 85 | +*.gif binary |
| 86 | +*.tif binary |
| 87 | +*.tiff binary |
| 88 | +*.ico binary |
| 89 | +# SVG treated as text by default. |
| 90 | +*.svg text |
| 91 | +# If you want to treat it as binary, |
| 92 | +# use the following line instead. |
| 93 | +# *.svg binary |
| 94 | +*.eps binary |
| 95 | + |
| 96 | +# Scripts |
| 97 | +*.bash text eol=lf |
| 98 | +*.fish text eol=lf |
| 99 | +*.ksh text eol=lf |
| 100 | +*.sh text eol=lf |
| 101 | +*.zsh text eol=lf |
| 102 | +# These are explicitly windows files and should use crlf |
| 103 | +*.bat text eol=crlf |
| 104 | +*.cmd text eol=crlf |
| 105 | +*.ps1 text eol=crlf |
| 106 | + |
| 107 | +# Serialisation |
| 108 | +*.json text |
| 109 | +*.toml text |
| 110 | +*.xml text |
| 111 | +*.yaml text |
| 112 | +*.yml text |
| 113 | + |
| 114 | +# Archives |
| 115 | +*.7z binary |
| 116 | +*.bz binary |
| 117 | +*.bz2 binary |
| 118 | +*.bzip2 binary |
| 119 | +*.gz binary |
| 120 | +*.lz binary |
| 121 | +*.lzma binary |
| 122 | +*.rar binary |
| 123 | +*.tar binary |
| 124 | +*.taz binary |
| 125 | +*.tbz binary |
| 126 | +*.tbz2 binary |
| 127 | +*.tgz binary |
| 128 | +*.tlz binary |
| 129 | +*.txz binary |
| 130 | +*.xz binary |
| 131 | +*.Z binary |
| 132 | +*.zip binary |
| 133 | +*.zst binary |
| 134 | + |
| 135 | +# Text files where line endings should be preserved |
| 136 | +*.patch -text |
| 137 | + |
| 138 | +# |
| 139 | +# Exclude files from exporting |
| 140 | +# |
| 141 | + |
| 142 | +.gitattributes export-ignore |
| 143 | +.gitignore export-ignore |
| 144 | +.gitkeep export-ignore |
| 145 | + |
| 146 | +# Apply override to all files in the directory |
| 147 | +*.md linguist-detectable |
| 148 | + |
58 | 149 | ## GITATTRIBUTES FOR WEB PROJECTS |
59 | 150 | # |
60 | 151 | # These settings are for any web project. |
|
75 | 166 | # Source code |
76 | 167 | *.bash text eol=lf |
77 | 168 | *.bat text eol=crlf |
| 169 | +*.cmd text eol=crlf |
| 170 | +*.coffee text |
| 171 | +*.css text diff=css |
| 172 | +*.htm text diff=html |
| 173 | +*.html text diff=html |
| 174 | +*.inc text |
| 175 | +*.ini text |
| 176 | +*.js text |
| 177 | +*.mjs text |
| 178 | +*.cjs text |
| 179 | +*.json text |
| 180 | +*.jsx text |
| 181 | +*.less text |
| 182 | +*.ls text |
| 183 | +*.map text -diff |
| 184 | +*.od text |
| 185 | +*.onlydata text |
| 186 | +*.php text diff=php |
| 187 | +*.pl text |
| 188 | +*.ps1 text eol=crlf |
| 189 | +*.py text diff=python |
| 190 | +*.rb text diff=ruby |
| 191 | +*.sass text |
| 192 | +*.scm text |
| 193 | +*.scss text diff=css |
| 194 | +*.sh text eol=lf |
| 195 | +.husky/* text eol=lf |
| 196 | +*.sql text |
| 197 | +*.styl text |
| 198 | +*.tag text |
| 199 | +*.ts text |
| 200 | +*.tsx text |
| 201 | +*.xml text |
| 202 | +*.xhtml text diff=html |
| 203 | + |
| 204 | +# Docker |
| 205 | +Dockerfile text |
| 206 | + |
| 207 | +# Documentation |
| 208 | +*.ipynb text eol=lf |
| 209 | +*.markdown text diff=markdown |
| 210 | +*.md text diff=markdown |
| 211 | +*.mdwn text diff=markdown |
| 212 | +*.mdown text diff=markdown |
| 213 | +*.mkd text diff=markdown |
| 214 | +*.mkdn text diff=markdown |
| 215 | +*.mdtxt text |
| 216 | +*.mdtext text |
| 217 | +*.txt text |
| 218 | +AUTHORS text |
| 219 | +CHANGELOG text |
| 220 | +CHANGES text |
| 221 | +CONTRIBUTING text |
| 222 | +COPYING text |
| 223 | +copyright text |
| 224 | +*COPYRIGHT* text |
| 225 | +INSTALL text |
| 226 | +license text |
| 227 | +LICENSE text |
| 228 | +NEWS text |
| 229 | +readme text |
| 230 | +*README* text |
| 231 | +TODO text |
| 232 | + |
| 233 | +# Templates |
| 234 | +*.dot text |
| 235 | +*.ejs text |
| 236 | +*.erb text |
| 237 | +*.haml text |
| 238 | +*.handlebars text |
| 239 | +*.hbs text |
| 240 | +*.hbt text |
| 241 | +*.jade text |
| 242 | +*.latte text |
| 243 | +*.mustache text |
| 244 | +*.njk text |
| 245 | +*.phtml text |
| 246 | +*.svelte text |
| 247 | +*.tmpl text |
| 248 | +*.tpl text |
| 249 | +*.twig text |
| 250 | +*.vue text |
| 251 | + |
| 252 | +# Configs |
| 253 | +*.cnf text |
| 254 | +*.conf text |
| 255 | +*.config text |
| 256 | +.editorconfig text |
| 257 | +*.env text |
| 258 | +.gitattributes text |
| 259 | +.gitconfig text |
| 260 | +.htaccess text |
| 261 | +*.lock text -diff |
| 262 | +package.json text eol=lf |
| 263 | +package-lock.json text eol=lf -diff |
| 264 | +pnpm-lock.yaml text eol=lf -diff |
| 265 | +.prettierrc text |
| 266 | +yarn.lock text -diff |
| 267 | +*.toml text |
| 268 | +*.yaml text |
| 269 | +*.yml text |
| 270 | +browserslist text |
| 271 | +Makefile text |
| 272 | +makefile text |
| 273 | +# Fixes syntax highlighting on GitHub to allow comments |
| 274 | +tsconfig.json linguist-language=JSON-with-Comments |
| 275 | + |
| 276 | +# Heroku |
| 277 | +Procfile text |
| 278 | + |
| 279 | +# Graphics |
| 280 | +*.ai binary |
| 281 | +*.bmp binary |
| 282 | +*.eps binary |
| 283 | +*.gif binary |
| 284 | +*.gifv binary |
| 285 | +*.ico binary |
| 286 | +*.jng binary |
| 287 | +*.jp2 binary |
| 288 | +*.jpg binary |
| 289 | +*.jpeg binary |
| 290 | +*.jpx binary |
| 291 | +*.jxr binary |
| 292 | +*.pdf binary |
| 293 | +*.png binary |
| 294 | +*.psb binary |
| 295 | +*.psd binary |
| 296 | +# SVG treated as an asset (binary) by default. |
| 297 | +*.svg text |
| 298 | +# If you want to treat it as binary, |
| 299 | +# use the following line instead. |
| 300 | +# *.svg binary |
| 301 | +*.svgz binary |
| 302 | +*.tif binary |
| 303 | +*.tiff binary |
| 304 | +*.wbmp binary |
| 305 | +*.webp binary |
| 306 | + |
| 307 | +# Audio |
| 308 | +*.kar binary |
| 309 | +*.m4a binary |
| 310 | +*.mid binary |
| 311 | +*.midi binary |
| 312 | +*.mp3 binary |
| 313 | +*.ogg binary |
| 314 | +*.ra binary |
| 315 | + |
| 316 | +# Video |
| 317 | +*.3gpp binary |
| 318 | +*.3gp binary |
| 319 | +*.as binary |
| 320 | +*.asf binary |
| 321 | +*.asx binary |
| 322 | +*.avi binary |
| 323 | +*.fla binary |
| 324 | +*.flv binary |
| 325 | +*.m4v binary |
| 326 | +*.mng binary |
| 327 | +*.mov binary |
| 328 | +*.mp4 binary |
| 329 | +*.mpeg binary |
| 330 | +*.mpg binary |
| 331 | +*.ogv binary |
| 332 | +*.swc binary |
| 333 | +*.swf binary |
| 334 | +*.webm binary |
| 335 | + |
| 336 | +# Archives |
| 337 | +*.7z binary |
| 338 | +*.gz binary |
| 339 | +*.jar binary |
| 340 | +*.rar binary |
| 341 | +*.tar binary |
| 342 | +*.zip binary |
| 343 | + |
| 344 | +# Fonts |
| 345 | +*.ttf binary |
| 346 | +*.eot binary |
| 347 | +*.otf binary |
| 348 | +*.woff binary |
| 349 | +*.woff2 binary |
| 350 | + |
| 351 | +# Executables |
| 352 | +*.exe binary |
| 353 | +*.pyc binary |
| 354 | +# Prevents massive diffs caused by vendored, minified files |
| 355 | +**/.yarn/releases/** binary |
| 356 | +**/.yarn/plugins/** binary |
| 357 | + |
| 358 | +# RC files (like .babelrc or .eslintrc) |
| 359 | +*.*rc text |
| 360 | + |
| 361 | +# Ignore files (like .npmignore or .gitignore) |
| 362 | +*.*ignore text |
| 363 | + |
| 364 | +# Prevents massive diffs from built files |
| 365 | +dist/** binary |
0 commit comments