-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitattributes
62 lines (54 loc) · 1.42 KB
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Auto detect text files and perform LF normalization
* text=auto
# Whitespace settings
* whitespace=indent-with-non-tab,trailing-space,space-before-tab,tabwidth=4
# F# stuff explicitly is text
*.fs text
*.fsi text
*.fsx text
*.fsscript text
# CWTools config files are explicitly text
*.cwt text
# Setup better diffs
*.html text diff=html
*.xhtml text diff=html
*.css text diff=css
*.scss text diff=css
*.doc text diff=astextplain
*.DOC text diff=astextplain
*.docx text diff=astextplain
*.DOCX text diff=astextplain
*.dot text diff=astextplain
*.DOT text diff=astextplain
*.pdf text diff=astextplain
*.PDF text diff=astextplain
*.rtf text diff=astextplain
*.RTF text diff=astextplain
*.md text diff=markdown
# Scripts
# These are explicitly linux files and should use lf
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary
# Text files where line endings should be preserved
*.patch -text
# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore