2018-06-09 00:50:35 -04:00
|
|
|
# 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-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
|
|
|
|
#
|
|
|
|
|
2014-04-13 06:36:44 -04:00
|
|
|
# Documents
|
2019-04-19 20:35:18 -04:00
|
|
|
*.bibtex text diff=bibtex
|
2020-07-27 19:22:34 -04:00
|
|
|
*.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
|
2021-03-23 01:02:16 -04:00
|
|
|
*.md text diff=markdown
|
2021-12-11 15:18:23 -05:00
|
|
|
*.mdx text diff=markdown
|
2019-04-19 20:35:18 -04:00
|
|
|
*.tex text diff=tex
|
|
|
|
*.adoc text
|
|
|
|
*.textile text
|
2014-07-16 03:17:28 -04:00
|
|
|
*.mustache text
|
2023-04-22 15:45:39 -04:00
|
|
|
*.csv text eol=crlf
|
2019-04-19 20:35:18 -04:00
|
|
|
*.tab text
|
|
|
|
*.tsv text
|
2019-07-13 16:06:52 -04:00
|
|
|
*.txt text
|
2019-04-19 20:35:18 -04:00
|
|
|
*.sql text
|
2022-07-12 05:24:46 -04:00
|
|
|
*.epub diff=astextplain
|
2014-05-17 10:43:32 -04:00
|
|
|
|
|
|
|
# Graphics
|
2019-04-19 20:35:18 -04:00
|
|
|
*.png binary
|
|
|
|
*.jpg binary
|
|
|
|
*.jpeg binary
|
|
|
|
*.gif binary
|
|
|
|
*.tif binary
|
|
|
|
*.tiff binary
|
|
|
|
*.ico binary
|
2021-06-10 09:51:40 -04:00
|
|
|
# SVG treated as text 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
|
|
|
|
*.eps binary
|
2019-01-26 02:25:53 -05:00
|
|
|
|
2019-07-13 16:06:52 -04:00
|
|
|
# Scripts
|
|
|
|
*.bash text eol=lf
|
2019-09-27 20:55:09 -04:00
|
|
|
*.fish text eol=lf
|
2019-07-13 16:06:52 -04:00
|
|
|
*.sh text eol=lf
|
2021-07-20 23:49:23 -04:00
|
|
|
*.zsh text eol=lf
|
2019-07-13 16:06:52 -04:00
|
|
|
# These are explicitly windows files and should use crlf
|
|
|
|
*.bat text eol=crlf
|
|
|
|
*.cmd text eol=crlf
|
2021-07-20 23:49:23 -04:00
|
|
|
*.ps1 text eol=crlf
|
2019-07-13 16:06:52 -04:00
|
|
|
|
|
|
|
# Serialisation
|
|
|
|
*.json text
|
2019-07-13 21:28:42 -04:00
|
|
|
*.toml text
|
|
|
|
*.xml text
|
2019-07-13 16:06:52 -04:00
|
|
|
*.yaml text
|
|
|
|
*.yml text
|
|
|
|
|
|
|
|
# Archives
|
|
|
|
*.7z binary
|
|
|
|
*.gz binary
|
|
|
|
*.tar binary
|
2019-12-28 05:43:59 -05:00
|
|
|
*.tgz binary
|
2019-07-13 16:06:52 -04:00
|
|
|
*.zip binary
|
|
|
|
|
2019-11-08 18:32:15 -05:00
|
|
|
# Text files where line endings should be preserved
|
|
|
|
*.patch -text
|
|
|
|
|
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
|
2020-07-14 09:05:45 -04:00
|
|
|
.gitkeep export-ignore
|