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

Add CRLF EOL for Window-specific file formats and add diffs (#129)

This commit is contained in:
David Fong 2021-03-22 22:02:16 -07:00 committed by GitHub
parent dcf1bcdba9
commit c9e0391fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 12 deletions

2
.gitattributes vendored
View File

@ -9,7 +9,7 @@
# These files are text and should be normalized (Convert crlf => lf)
*.gitattributes text
.gitignore text
*.md text
*.md text diff=markdown
#
# Exclude files from exporting

View File

@ -20,7 +20,7 @@
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text
*.md text diff=markdown
*.tex text diff=tex
*.adoc text
*.textile text
@ -30,7 +30,7 @@
*.tsv text
*.txt text
*.sql text
*.ps1 text
*.ps1 text eol=crlf
# Graphics
*.png binary

View File

@ -20,7 +20,7 @@
*.bat text eol=crlf
*.cmd text eol=crlf
*.coffee text
*.css text
*.css text diff=css
*.htm text diff=html
*.html text diff=html
*.inc text
@ -35,7 +35,7 @@
*.onlydata text
*.php text diff=php
*.pl text
*.ps1 text
*.ps1 text eol=crlf
*.py text diff=python
*.rb text diff=ruby
*.sass text
@ -55,12 +55,12 @@ Dockerfile text
# Documentation
*.ipynb text
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.markdown text diff=markdown
*.md text diff=markdown
*.mdwn text diff=markdown
*.mdown text diff=markdown
*.mkd text diff=markdown
*.mkdn text diff=markdown
*.mdtxt text
*.mdtext text
*.txt text
@ -106,7 +106,10 @@ TODO text
.gitconfig text
.htaccess text
*.lock text -diff
package-lock.json text -diff
package.json text eol=lf
package-lock.json text eol=lf -diff
pnpm-lock.yaml text eol=lf -diff
yarn.lock text -diff
*.toml text
*.yaml text
*.yml text