1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -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
.gitignore text
*.md text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore

View File

@ -9,4 +9,3 @@
*.Rdx binary
*.Rmd 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
*.frm -text
@ -7,5 +9,5 @@
*.obj -text
*.dbi -text
*.sec -text
*.css -text diff=css
*.js eol=lf
*.css text diff=css
*.js seol=lf

View File

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