1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 08:18:50 -05:00

Format gitattributes files

This commit is contained in:
Richie Bendall 2019-04-20 12:35:18 +12:00
parent 98c843fb2b
commit 3bbc79c5e7
No known key found for this signature in database
GPG Key ID: 1C6A99DFA9D306FC
19 changed files with 326 additions and 318 deletions

7
.gitattributes vendored
View File

@ -10,3 +10,10 @@
*.gitattributes text *.gitattributes text
.gitignore text .gitignore text
*.md text *.md text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore

View File

@ -9,4 +9,3 @@
*.Rdx binary *.Rdx binary
*.Rmd text *.Rmd text
*.R text *.R text

View File

@ -1,3 +1,5 @@
# Auto detect text files and perform LF normalization
# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto * text=auto
*.frm -text *.frm -text
@ -7,5 +9,5 @@
*.obj -text *.obj -text
*.dbi -text *.dbi -text
*.sec -text *.sec -text
*.css -text diff=css *.css text diff=css
*.js eol=lf *.js seol=lf

View File

@ -9,13 +9,13 @@
# Note that binary is a macro for -text -diff. # Note that binary is a macro for -text -diff.
###################################################################### ######################################################################
## AUTO-DETECT # Auto detect
## Handle line endings automatically for files detected as ## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched. ## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below. ## This will handle all files NOT defined below.
* text=auto * text=auto
## SOURCE CODE # Source code
*.bat text eol=crlf *.bat text eol=crlf
*.coffee text *.coffee text
*.css text *.css text
@ -46,11 +46,11 @@
*.xml text *.xml text
*.xhtml text diff=html *.xhtml text diff=html
## DOCKER # Docker
*.dockerignore text *.dockerignore text
Dockerfile text Dockerfile text
## DOCUMENTATION # Documentation
*.ipynb text *.ipynb text
*.markdown text *.markdown text
*.md text *.md text
@ -76,7 +76,7 @@ readme text
*README* text *README* text
TODO text TODO text
## TEMPLATES # Templates
*.dot text *.dot text
*.ejs text *.ejs text
*.haml text *.haml text
@ -92,7 +92,7 @@ TODO text
*.tpl text *.tpl text
*.twig text *.twig text
## LINTERS # Linters
.csslintrc text .csslintrc text
.eslintrc text .eslintrc text
.htmlhintrc text .htmlhintrc text
@ -101,7 +101,7 @@ TODO text
.jshintignore text .jshintignore text
.stylelintrc text .stylelintrc text
## CONFIGS # Configs
*.bowerrc text *.bowerrc text
*.cnf text *.cnf text
*.conf text *.conf text
@ -121,11 +121,11 @@ browserslist text
Makefile text Makefile text
makefile text makefile text
## HEROKU # Heroku
Procfile text Procfile text
.slugignore text .slugignore text
## GRAPHICS # Graphics
*.ai binary *.ai binary
*.bmp binary *.bmp binary
*.eps binary *.eps binary
@ -152,7 +152,7 @@ Procfile text
*.wbmp binary *.wbmp binary
*.webp binary *.webp binary
## AUDIO # Audio
*.kar binary *.kar binary
*.m4a binary *.m4a binary
*.mid binary *.mid binary
@ -161,7 +161,7 @@ Procfile text
*.ogg binary *.ogg binary
*.ra binary *.ra binary
## VIDEO # Video
*.3gpp binary *.3gpp binary
*.3gp binary *.3gp binary
*.as binary *.as binary
@ -180,7 +180,7 @@ Procfile text
*.swf binary *.swf binary
*.webm binary *.webm binary
## ARCHIVES # Archives
*.7z binary *.7z binary
*.gz binary *.gz binary
*.jar binary *.jar binary
@ -188,13 +188,13 @@ Procfile text
*.tar binary *.tar binary
*.zip binary *.zip binary
## FONTS # Fonts
*.ttf binary *.ttf binary
*.eot binary *.eot binary
*.otf binary *.otf binary
*.woff binary *.woff binary
*.woff2 binary *.woff2 binary
## EXECUTABLES # Executables
*.exe binary *.exe binary
*.pyc binary *.pyc binary