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

55 lines
1.2 KiB
Plaintext
Raw Normal View History

# Common settings that generally should always be used with your language specific settings
2014-04-03 18:10:04 -04:00
# Auto detect text files and perform LF normalization
2019-04-18 00:51:46 -04:00
# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
2019-04-19 20:35:18 -04:00
* text=auto
2014-04-03 18:10:04 -04:00
#
# The above will handle all files NOT found below
#
# Documents
2019-04-19 20:35:18 -04:00
*.bibtex text diff=bibtex
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text
*.tex text diff=tex
*.adoc text
*.textile text
2014-07-16 03:17:28 -04:00
*.mustache text
2019-04-19 20:35:18 -04:00
*.csv text
*.tab text
*.tsv text
*.sql text
# Graphics
2019-04-19 20:35:18 -04:00
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
2019-04-19 20:10:44 -04:00
# SVG treated as an asset (binary) by default.
2019-04-19 20:35:18 -04:00
*.svg text
2019-04-21 03:16:56 -04:00
# If you want to treat it as binary,
2019-04-19 20:10:44 -04:00
# use the following line instead.
2019-04-19 20:35:18 -04:00
# *.svg binary
2019-04-19 20:10:44 -04:00
2019-04-19 20:35:18 -04:00
*.eps binary
2019-01-26 02:25:53 -05:00
#
# Exclude files from exporting
#
.gitattributes export-ignore
2019-04-19 20:35:18 -04:00
.gitignore export-ignore